Android.OS.Process.GetGidForName Method
Returns the GID assigned to a particular user name, or -1 if there is none.

Syntax

[Android.Runtime.Register("getGidForName", "(Ljava/lang/String;)I", "")]
public static int GetGidForName (string name)

Parameters

name
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the GID assigned to a particular user name, or -1 if there is none. If the given string consists of only numbers, it is converted directly to a gid.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1