Mono.Unix.Native.Syscall.getgrouplist Method
Determines the group access list for a user by username.

Syntax

public static Group[] getgrouplist (string username)

Parameters

username
string instance containing username to get the groups for.

Returns

Mono.Unix.Native.Group array containing all of the Unix groups that username belongs to.

Remarks

usermame null Throws when the username is empty or not exists.

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 4.0.0.0