Share via


IAcl.SetName(IPrincipal, String) Method

Definition

Sets the name of this ACL.

[Android.Runtime.Register("setName", "(Ljava/security/Principal;Ljava/lang/String;)V", "GetSetName_Ljava_security_Principal_Ljava_lang_String_Handler:Java.Security.Acl.IAclInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetName (Java.Security.IPrincipal? caller, string? name);
[<Android.Runtime.Register("setName", "(Ljava/security/Principal;Ljava/lang/String;)V", "GetSetName_Ljava_security_Principal_Ljava_lang_String_Handler:Java.Security.Acl.IAclInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetName : Java.Security.IPrincipal * string -> unit

Parameters

caller
IPrincipal

the principal invoking this method. It must be an owner of this ACL.

name
String

the name to be given to this ACL.

Attributes

Exceptions

if the invoking Principal is not an owner of this ACL.

Remarks

Sets the name of this ACL.

Java documentation for java.security.acl.Acl.setName(java.security.Principal, 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