VerifyBinderyObjectPassword
Verifies that the password of a bindery object is valid (For cross-platform functionality, see Developing NLMs with Cross-Platform Functions ( NDK: NLM Development Concepts, Tools, and Functions) and call NWVerifyObjectPassword)
#include <\nlm\nit\nwbindry.h>
int VerifyBinderyObjectPassword (
char *objectName,
WORD objectType,
char *password);
This function verifies the password of a bindery object by passing the objectName, objectType, and password parameters.
The objectName and objectType parameters must uniquely identify the bindery object and must not contain wildcard characters. The objectName can be from 1 to 48 characters long, including the NULL terminator. Only printable characters can be used. Slashes, backslashes, colons, semicolons, commas, asterisks, and question marks are prohibited.
There is a distinction between a bindery object without a password property and a bindery object with a password property that has no value. An entity is not allowed to log in to a server as a bindery object that does not have a password property. However, an entity is allowed to log in to a server as a bindery object that has a password property with no value. This function does not require that the requesting entity be logged in to the server.
If the object does not have a password property then the check fails. If the object has a password of length zero, a password of length zero matches.