Compartir a través de


IOwner.IsOwner(IPrincipal) Method

Definition

Returns true if the given principal is an owner of the ACL.

[Android.Runtime.Register("isOwner", "(Ljava/security/Principal;)Z", "GetIsOwner_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsOwner (Java.Security.IPrincipal? owner);
[<Android.Runtime.Register("isOwner", "(Ljava/security/Principal;)Z", "GetIsOwner_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsOwner : Java.Security.IPrincipal -> bool

Parameters

owner
IPrincipal

the principal to be checked to determine whether or not it is an owner.

Returns

true if the passed principal is in the list of owners, false if not.

Attributes

Remarks

Returns true if the given principal is an owner of the ACL.

Java documentation for java.security.acl.Owner.isOwner(java.security.Principal).

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