UserPrincipalLookupService.LookupPrincipalByName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.