X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/b0322a8536f3cab76471c98122fe1df75bb7c387..d50284c4aa46bdb558ab92276d4e3ebd856fe9a6:/auth_getuserinfo.html diff --git a/auth_getuserinfo.html b/auth_getuserinfo.html index 3505ea2..befb2a0 100644 --- a/auth_getuserinfo.html +++ b/auth_getuserinfo.html @@ -6,10 +6,10 @@ information. -->
auth_getuserinfo â Obtain account information
#include <courierauth.h>
-
int rc=auth_getuserinfo( | const char *userid, |
 | int (*callback_func)( struct authinfo *, void *) , |
 | void *callback_arg) ; |
int rc=auth_getuserinfo( | const char *userid, |
 | int (*callback_func)( struct authinfo *, void *) , |
 | void *callback_arg) ; |
If userid
is a valid account name,
retrieve the account particulars and invoke
-callback_func
.
callback_func
will be invoked if
userid
exists,
and callback_func
's return value becomes
@@ -25,7 +25,7 @@ return value indicates that this request was processed, but it failed
The second argument to callback_func
will be
callback_arg
, which is not interpreted by this
function in any way.
-The first argument will be a pointer to the following structure:
Example 1. struct authinfo
+The first argument will be a pointer to the following structure:Example 1. struct authinfo
struct authinfo { const char *sysusername; const uid_t *sysuserid; @@ -78,7 +78,7 @@ The account's cleartext password, if available. If the account has an encrypted password defined, this field can be set toNULL
.options A comma-separated list of miscellaneous account options. -See below for more information.
Account options
Depending on the configuration of the Courier authentication library, accounts may have individual options associated with them. If the authentication library configuration does not implement account @@ -127,7 +127,7 @@ account could possibly access (and that's on top of whatever else the access control lists say). See the virtual shared folder documentation for more information.
For technical reasons, group names may not include comma, tab, "/" or "|" -characters.