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

Always null on Android.

Attributes

Remarks

On Android, this method always returns null.

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