Condividi tramite


IGroup.AddMember(IPrincipal) Method

Definition

Adds the specified member to the group.

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

Parameters

user
IPrincipal

the principal to add to this group.

Returns

true if the member was successfully added, false if the principal was already a member.

Attributes

Remarks

Adds the specified member to the group.

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