IAclEntry.SetNegativePermissions Method

Definition

Sets this ACL entry to be a negative one.

[Android.Runtime.Register("setNegativePermissions", "()V", "GetSetNegativePermissionsHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNegativePermissions ();
[<Android.Runtime.Register("setNegativePermissions", "()V", "GetSetNegativePermissionsHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNegativePermissions : unit -> unit
Attributes

Remarks

Sets this ACL entry to be a negative one. That is, the associated principal (e.g., a user or a group) will be denied the permission set specified in the entry.

Note: ACL entries are by default positive. An entry becomes a negative entry only if this setNegativePermissions method is called on it.

Java documentation for java.security.acl.AclEntry.setNegativePermissions().

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