table of contents
other versions
- wheezy 0.63.0-6+b1
- jessie 0.66.1-1+b1
- testing 0.66.4-9
- unstable 0.66.4-9
- experimental 0.67.0-1
AUTH_ENUMERATE(3) | Double Precision, Inc. | AUTH_ENUMERATE(3) |
NAME¶
auth_enumerate - Obtain list of accountsSYNOPSIS¶
#include <courierauth.h>
auth_enumerate(int (*callback_func) (const char *, uid_t, gid_t, const char *, const char *, const char *, void *),
void *callback_arg);
DESCRIPTION¶
•Account name.
•Account´s numeric userid.
•Account´s numeric groupid.
•Account´s home directory.
•Account´s mailbox (if defined, may
be NULL, which indicates the default mailbox location).
•Account´s options string (if
defined, may be NULL)
• callback_arg, verbatim.
After invoking callback_func for the last account, auth_enumerate
invokes callback_func one more time with all parameters set to NULL or
0.
If auth_enumerate encounters an error it will terminate without calling
callback_func with all NULL or 0 parameters. This can be used to
determine whether a partial list of accounts was received.
SEE ALSO¶
NOTES¶
- 1.
- authlib(3)
authlib.html
auth_generic.html
auth_login.html
auth_getuserinfo.html
auth_passwd.html
08/23/2008 | Double Precision, Inc. |