System.Web.Security.RolePrincipal.RolePrincipal C# (CSharp) 메소드

RolePrincipal() 공개 메소드

public RolePrincipal ( IIdentity identity ) : System.Collections.Specialized
identity IIdentity
리턴 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);
		}

Same methods

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