PMDF popstore & MessageStore Manager's Guide
PMDF-POP-6.0
Previous
| Contents
POPSTORE_user_exists_d
See if a username specifies a valid account.
FORMAT
int POPSTORE_user_exists_d (domain, domain_len, user,
user_len)
char *domain;
int domain_len;
char *user;
int user_len;
ARGUMENTS
domain
Name of the user domain to use. Supply a value of NULL to indicate the
default domain. Used for input only.
domain_len
Length in bytes of the user domain name, domain. Supply a
value of zero to indicate the default domain. Used for
input only.
user
Name of the user to check for the existence of. Used for input only.
user_len
Length in bytes of the username string, user. Used for
input only.
DESCRIPTION
To see if a username corresponds to an existing popstore account, call
POPSTORE_user_exists with the username in question specified with the
user argument. If the name corresponds to an existing
account, the value POPSTORE_USEREXISTS is returned. Otherwise,
POPSTORE_NOSUCHUSER is returned. Note that if the process lacks
privileges to access the popstore profile directories,
POPSTORE_NOSUCHUSER will be returned.
Return Values
| POPSTORE_USEREXISTS |
Username corresponds to an existing popstore account. |
| POPSTORE_NOSUCHUSER |
No matching account or the process lacks privileges to access the profile directories. |
Previous
| Next
| Contents