Previous | Contents | Index |
See if a username specifies a valid account.
int POPSTORE_user_exists_d (domain, domain_len, user, user_len) char *domain; int domain_len; char *user; int user_len;
Name of the user domain to use. Supply a value of NULL to indicate the
domain
default
domain. Used for input only.Length in bytes of the user domain name,
domain_len
domain
. Supply a value of zero to indicate thedefault
domain. Used for input only.Name of the user to check for the existence of. Used for input only.
user
Length in bytes of the username string,
user_len
user
. Used for input only.
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.
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 | Index |