Android Guides | Samples


Principals are objects which have identities.

See Also: IPrincipal


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


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

[Android Documentation]


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

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

Public Properties

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.