IGroup.RemoveMember(IPrincipal) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从组中删除指定的成员。
[Android.Runtime.Register("removeMember", "(Ljava/security/Principal;)Z", "GetRemoveMember_Ljava_security_Principal_Handler:Java.Security.Acl.IGroupInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool RemoveMember (Java.Security.IPrincipal? user);
[<Android.Runtime.Register("removeMember", "(Ljava/security/Principal;)Z", "GetRemoveMember_Ljava_security_Principal_Handler:Java.Security.Acl.IGroupInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveMember : Java.Security.IPrincipal -> bool
参数
- user
- IPrincipal
要从此组中删除的主体。
返回
如果主体已删除,则为 true;如果主体不是成员,则为 false。
- 属性
注解
从组中删除指定的成员。
适用于 . 的 java.security.acl.Group.removeMember(java.security.Principal)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。