Språk

RemotingService.User Egenskap

Definition

Hämtar säkerhetskontexten för den användare för vars räkning koden körs, inklusive användarens identitet och eventuella roller som användaren tillhör.

public:
 property System::Security::Principal::IPrincipal ^ User { System::Security::Principal::IPrincipal ^ get(); };
public System.Security.Principal.IPrincipal User { get; }
member this.User : System.Security.Principal.IPrincipal
Public ReadOnly Property User As IPrincipal

Egenskapsvärde

Användarens säkerhetskontext.

Kommentarer

Mer information om identiteter finns i IIdentity.

Gäller för