Compartir a través de


IGroup Interface

Definition

This interface is used to represent a group of principals.

[Android.Runtime.Register("java/security/acl/Group", "", "Java.Security.Acl.IGroupInvoker")]
public interface IGroup : IDisposable, Java.Interop.IJavaPeerable, Java.Security.IPrincipal
[<Android.Runtime.Register("java/security/acl/Group", "", "Java.Security.Acl.IGroupInvoker")>]
type IGroup = interface
    interface IPrincipal
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

This interface is used to represent a group of principals. (A principal represents an entity such as an individual user or a company).

Note that Group extends Principal. Thus, either a Principal or a Group can be passed as an argument to methods containing a Principal parameter. For example, you can add either a Principal or a Group to a Group object by calling the object's addMember method, passing it the Principal or Group.

Added in 1.1.

This member is deprecated. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.

Java documentation for java.security.acl.Group.

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.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
Name

Returns the name of this Principal.

(Inherited from IPrincipal)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)

Methods

AddMember(IPrincipal)

Adds the specified member to the group.

Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Equals(Object)

Compares this principal to the specified object.

(Inherited from IPrincipal)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
GetHashCode()

Returns a hashcode for this principal.

(Inherited from IPrincipal)
Implies(Subject)

Returns true if the specified subject is implied by this principal.

(Inherited from IPrincipal)
IsMember(IPrincipal)

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

Members()

Returns an enumeration of the members in the group.

RemoveMember(IPrincipal)

Removes the specified member from the group.

SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
ToString()

Returns a string representation of this principal.

(Inherited from IPrincipal)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to