Language

ProtectionDomain.GetPrincipals Method

Definition

Returns null on Android; the constructor does not retain principals.

[Android.Runtime.Register("getPrincipals", "()[Ljava/security/Principal;", "")]
public Java.Security.IPrincipal[]? GetPrincipals();
[<Android.Runtime.Register("getPrincipals", "()[Ljava/security/Principal;", "")>]
member this.GetPrincipals : unit -> Java.Security.IPrincipal[]

Returns

a non-null array of principals for this domain. Returns a new array each time this method is called.

Attributes

Remarks

Returns an array of principals for this domain.

Java reference for java.security.ProtectionDomain.getPrincipals.

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