Android Guides | Samples

Java.Security.IPrincipal

Principals are objects which have identities.

See Also: IPrincipal

Syntax

[Android.Runtime.Register("java/security/Principal", "", "Java.Security.IPrincipalInvoker")]
public interface IPrincipal : IJavaObject, IDisposable

Remarks

Principals are objects which have identities. These can be individuals, groups, corporations, unique program executions, etc.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Security.IPrincipal are listed below.

Public Properties

[read-only]
NameString. Returns the name of this Principal.

Public Methods

Equals(Object) : Boolean
Compares the specified object with this Principal for equality and returns true if the specified object is equal, false otherwise.
GetHashCode() : Int32
Returns the hash code value for this Principal.
ToString() : String
Returns a string containing a concise, human-readable description of this Principal.