C# 클래스 System.Web.Security.RolePrincipal

상속: IPrincipal, ISerializable
파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DecryptTicket void
GetBase64FromBytes string
GetBytesFromBase64 byte[]
InitializeRoles void

공개 메소드들

메소드 설명
GetRoles ( ) : string[]
IsInRole ( string role ) : bool
RolePrincipal ( IIdentity identity ) : System.Collections.Specialized
RolePrincipal ( IIdentity identity, string encryptedTicket ) : System.Collections.Specialized
RolePrincipal ( string providerName, IIdentity identity ) : System.Collections.Specialized
RolePrincipal ( string providerName, IIdentity identity, string encryptedTicket ) : System.Collections.Specialized
SetDirty ( ) : void
ToEncryptedTicket ( ) : string

비공개 메소드들

메소드 설명
DecryptTicket ( string encryptedTicket ) : void
GetBase64FromBytes ( byte bytes, int offset, int len ) : string
GetBytesFromBase64 ( string base64String ) : byte[]
InitializeRoles ( string decryptedRoles ) : void

메소드 상세

GetRoles() 공개 메소드

public GetRoles ( ) : string[]
리턴 string[]

IsInRole() 공개 메소드

public IsInRole ( string role ) : bool
role string
리턴 bool

RolePrincipal() 공개 메소드

public RolePrincipal ( IIdentity identity ) : System.Collections.Specialized
identity IIdentity
리턴 System.Collections.Specialized

RolePrincipal() 공개 메소드

public RolePrincipal ( IIdentity identity, string encryptedTicket ) : System.Collections.Specialized
identity IIdentity
encryptedTicket string
리턴 System.Collections.Specialized

RolePrincipal() 공개 메소드

public RolePrincipal ( string providerName, IIdentity identity ) : System.Collections.Specialized
providerName string
identity IIdentity
리턴 System.Collections.Specialized

RolePrincipal() 공개 메소드

public RolePrincipal ( string providerName, IIdentity identity, string encryptedTicket ) : System.Collections.Specialized
providerName string
identity IIdentity
encryptedTicket string
리턴 System.Collections.Specialized

SetDirty() 공개 메소드

public SetDirty ( ) : void
리턴 void

ToEncryptedTicket() 공개 메소드

public ToEncryptedTicket ( ) : string
리턴 string