Share via


IManagementContext.User Property

Definition

Gets the security context of the user.

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

A IPrincipal interface that contains the security context of the user on whose behalf the code is running.

Remarks

The security context can be a generic System.Security.Principal.IPrincipal implementation, or a Windows principal if the user connects with a Windows identity.

Applies to