Editar

Partilhar via


Claim.Subject Property

Definition

Gets the subject of the claim.

public:
 property System::Security::Claims::ClaimsIdentity ^ Subject { System::Security::Claims::ClaimsIdentity ^ get(); };
public System.Security.Claims.ClaimsIdentity Subject { get; }
public System.Security.Claims.ClaimsIdentity? Subject { get; }
member this.Subject : System.Security.Claims.ClaimsIdentity
Public ReadOnly Property Subject As ClaimsIdentity

Property Value

The subject of the claim.

Remarks

The subject is the entity about which the claim is asserted. Some typical examples are a user, an application or service, a device, or a computer. The subject is represented by a ClaimsIdentity, which contains a collection of claims that describe it.

Applies to