C# Class Candor.Security.UserIdentity

Inheritance: System.MarshalByRefObject, IIdentity
Mostra file Open project: michael-lang/candor-common Class Usage Examples

Public Methods

Method Description
UserIdentity ( ) : System

Creates a new instance of UserIdentity.

UserIdentity ( AuthenticationHistory ticket, String authType ) : System

Creates a user instance from an authentication attempt.

UserIdentity ( System.Guid userID, string name, UserIdentity impersonator ) : System

Creates a new instance of an identity, but impersonated by the specified user.

Method Details

UserIdentity() public method

Creates a new instance of UserIdentity.
public UserIdentity ( ) : System
return System

UserIdentity() public method

Creates a user instance from an authentication attempt.
public UserIdentity ( AuthenticationHistory ticket, String authType ) : System
ticket AuthenticationHistory The authentication results.
authType String The provider that authentication this identity.
return System

UserIdentity() public method

Creates a new instance of an identity, but impersonated by the specified user.
public UserIdentity ( System.Guid userID, string name, UserIdentity impersonator ) : System
userID System.Guid The unique identity of the user to impersonate.
name string The name of the user to impersonate.
impersonator UserIdentity The impersonator's authenticated identity.
return System