Επεξεργασία

Κοινή χρήση μέσω


RemotingService.User Property

Definition

Gets the security context of the user on whose behalf the code is running, including that user's identity and any roles that the user belongs to.

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

Property Value

The security context of the user.

Remarks

For more information about identities, see IIdentity.

Applies to