IManagementContext.User 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.
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.