Subject.Principals Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Principal
Set
. Any modification to the returned Set
affects the internal Principal
Set
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.