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
Available since 1.1
Return to top