Sdílet prostřednictvím


Subject.Principals Property

Definition

Return the Set of Principals associated with this Subject.

public System.Collections.Generic.ICollection<Java.Security.IPrincipal>? Principals { [Android.Runtime.Register("getPrincipals", "()Ljava/util/Set;", "")] get; }
[<get: Android.Runtime.Register("getPrincipals", "()Ljava/util/Set;", "")>]
member this.Principals : System.Collections.Generic.ICollection<Java.Security.IPrincipal>

Property Value

The Set of Principals associated with this Subject.

Attributes

Remarks

Return the Set of Principals associated with this Subject. Each Principal represents an identity for this Subject.

The returned Set is backed by this Subject's internal PrincipalSet. Any modification to the returned Set affects the internal PrincipalSet as well.

Java documentation for javax.security.auth.Subject.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