IGroup.IsMember(IPrincipal) Method

Definition

Returns true if the passed principal is a member of the group.

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

Parameters

member
IPrincipal

the principal whose membership is to be checked.

Returns

true if the principal is a member of this group, false otherwise.

Attributes

Remarks

Returns true if the passed principal is a member of the group. This method does a recursive search, so if a principal belongs to a group which is a member of this group, true is returned.

Java documentation for java.security.acl.Group.isMember(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