Language

AclEntry.Builder.SetPrincipal(IUserPrincipal) Method

Definition

Sets the principal to which the ACL entry applies.

[Android.Runtime.Register("setPrincipal", "(Ljava/nio/file/attribute/UserPrincipal;)Ljava/nio/file/attribute/AclEntry$Builder;", "", ApiSince=26)]
public Java.Nio.FileNio.Attributes.AclEntry.Builder? SetPrincipal(Java.Nio.FileNio.Attributes.IUserPrincipal? who);
[<Android.Runtime.Register("setPrincipal", "(Ljava/nio/file/attribute/UserPrincipal;)Ljava/nio/file/attribute/AclEntry$Builder;", "", ApiSince=26)>]
member this.SetPrincipal : Java.Nio.FileNio.Attributes.IUserPrincipal -> Java.Nio.FileNio.Attributes.AclEntry.Builder

Parameters

who
IUserPrincipal

The user principal for the entry.

Returns

This builder.

Attributes

Remarks

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