IAclEntry.RemovePermission(IPermission) Method

Definition

Removes the specified permission from this ACL entry.

[Android.Runtime.Register("removePermission", "(Ljava/security/acl/Permission;)Z", "GetRemovePermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool RemovePermission (Java.Security.Acl.IPermission? permission);
[<Android.Runtime.Register("removePermission", "(Ljava/security/acl/Permission;)Z", "GetRemovePermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemovePermission : Java.Security.Acl.IPermission -> bool

Parameters

permission
IPermission

the permission to be removed from this entry.

Returns

true if the permission is removed, false if the permission was not part of this entry's permission set.

Attributes

Remarks

Removes the specified permission from this ACL entry.

Java documentation for java.security.acl.AclEntry.removePermission(java.security.acl.Permission).

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