Udostępnij za pośrednictwem


UserPrincipalLookupService.LookupPrincipalByName(String) Method

Definition

Lookup a user principal by name.

[Android.Runtime.Register("lookupPrincipalByName", "(Ljava/lang/String;)Ljava/nio/file/attribute/UserPrincipal;", "GetLookupPrincipalByName_Ljava_lang_String_Handler", ApiSince=26)]
public abstract Java.Nio.FileNio.Attributes.IUserPrincipal? LookupPrincipalByName (string? name);
[<Android.Runtime.Register("lookupPrincipalByName", "(Ljava/lang/String;)Ljava/nio/file/attribute/UserPrincipal;", "GetLookupPrincipalByName_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member LookupPrincipalByName : string -> Java.Nio.FileNio.Attributes.IUserPrincipal

Parameters

name
String

the string representation of the user principal to lookup

Returns

a user principal

Attributes

Remarks

Lookup a user principal by name.

Java documentation for java.nio.file.attribute.UserPrincipalLookupService.lookupPrincipalByName(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to