1LFC_GETUSRMAP(3)             LFC Library Functions            LFC_GETUSRMAP(3)
2
3
4

NAME

6       lfc_getusrmap - get all existing users from virtual uid table
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "lfc_api.h"
11
12       int lfc_getusrmap (int *nbentries, struct lfc_userinfo **usr_entries)
13

DESCRIPTION

15       lfc_getusrmap gets all the existing users from the virtual uid table.
16
17       nbentries
18              will be set to the number of entries in the array of user infos.
19
20       usr_entries
21              will  be  set  to the address of an array of lfc_userinfo struc‐
22              tures allocated by the API. The client application is  responsi‐
23              ble for freeing the array when not needed anymore.
24
25       This function requires ADMIN privilege.
26

RETURN VALUE

28       This  routine  returns  0  if the operation was successful or -1 if the
29       operation failed. In the latter case, serrno is set appropriately.
30

ERRORS

32       EACCES       The caller does not have ADMIN privilege.
33
34       ENOMEM       Memory could not be allocated for unmarshalling the reply.
35
36       EFAULT       nbentries or usr_entries is a NULL pointer.
37
38       SENOSHOST    Host unknown.
39
40       SENOSSERV    Service unknown.
41
42       SECOMERR     Communication error.
43
44       ENSNACT      Name server is not running or is being shutdown.
45
46
47
48LFC                      $Date: 2007/12/13 06:15:14 $         LFC_GETUSRMAP(3)
Impressum