| Previous | Contents | Index |
Format for display a list of user profiles.
int POPSTORE_format_profiles_d (format, domain, domain_len, group, group_len, user, user_len, context, output_proc) POPSTORE_format_element *format; char *domain; int domain_len; char *group; int group_len; char *user; int user_len; void *context; int (*output_proc)();
Pointer to a formatting context returned by a previous call to POPSTORE_format_read. Used for input only.
formatName of the user domain to use. Supply a value of
domainNULLto indicate thedefaultdomain. Used for input only.Length in bytes of the user domain name,
domain_lendomain. Supply a value of zero to indicate thedefaultdomain. Used for input only.Name of the management group and subgroups thereof to restrict the listing to. Supply a value of
groupNULLif accounts from any group should be listed. This string cannot contain wild cards. Used for input only.Length in bytes of the group name,
group_lengroup. Specify a value of zero if you do not want to restrict the listing to a particular group.Name of the user to display profile information for. This string can contain wild cards. Used for input only.
userLength in bytes of the username string,
user_lenuser. Length of this string can not exceedALFA_SIZEbytes. Used for input only.Pointer to private client data to be passed to the client-supplied
contextoutput_procprocedure. Used for input only.Address of a client-supplied subroutine to call to output formatted data. Used for input only.
output_proc
Use POPSTORE_format_profiles_d to generate a listing of popstore user accounts. Whengroup_lenis zero, all accounts matching the username specification,user, will be formatted for display. Whengroup_lenis larger than zero, only those accounts within the specified management group and matching the username specification will be formatted for display. The username specification is treated as a case-insensitive string and can contain wild card characters. To list all accounts you can simply pass a null value foruseror a zero value foruser_lenor both. The formatting context passed to this subroutine should be derived from a formatting file using substitution strings from Tables 4-10 and 4-15. See the description of thePOPSTORE_format_counterssubroutine for a description of theoutput_procprocedure.
POPSTORE_SUCCESS Normal, successful completion. POPSTORE_BADARG Bad value passed for the address of the output procedure, output_proc.POPSTORE_TOOLONG Length of username string exceeds ALFA_SIZE bytes. Any error value returned by the output procedure, output_proc.
| Previous | Next | Contents | Index |