Method System.NetUserGetGroups()
- Method NetUserGetGroups
array
(array
(string
|int
)) NetUserGetGroups(string
|int(0..0)
server
,string
user
,int
|void
level
)- Description
Get information about group membership for a network user.
- Parameter
server
Server the groups exist on.
- Parameter
user
User to retrieve groups for.
- Parameter
level
Information level. One of:
0
1
- Returns
Returns an array on success. Throws errors on failure.
- FIXME
Document the return value.
- Note
This function is only available on some Win32 systems.
- See also
NetUserGetInfo(), NetUserEnum(), NetGroupEnum(), NetLocalGroupEnum(), NetUserGetLocalGroups(), NetGroupGetUsers(), NetLocalGroupGetMembers(), NetGetDCName(), NetGetAnyDCName()