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

Syntax

[Android.Runtime.Register("getUidForName", "(Ljava/lang/String;)I", "")]
public static int GetUidForName (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 UID 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 uid.

[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