public RolePrincipal ( IIdentity identity ) : System.Collections.Specialized | ||
identity | IIdentity | |
return | System.Collections.Specialized |
public RolePrincipal (IIdentity identity)
{
if (identity == null)
throw new ArgumentNullException ("identity");
this._identity = identity;
this._cookiePath = RoleManagerConfig.CookiePath;
this._issueDate = DateTime.Now;
this._expireDate = _issueDate.Add (RoleManagerConfig.CookieTimeout);
}
RolePrincipal::RolePrincipal ( IIdentity identity, string encryptedTicket ) : System.Collections.Specialized | |
RolePrincipal::RolePrincipal ( string providerName, IIdentity identity ) : System.Collections.Specialized | |
RolePrincipal::RolePrincipal ( string providerName, IIdentity identity, string encryptedTicket ) : System.Collections.Specialized |