Export (0) Print
Expand All

RemotingService.User Property

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.

Namespace:  System.Runtime.Remoting.Services
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

public IPrincipal User { get; }

Property Value

Type: System.Security.Principal.IPrincipal
The security context of the user.

For more information about identities, see IIdentity.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 3.5 SP1
© 2015 Microsoft