C# 클래스 System.Security.Principal.GenericPrincipal

상속: System.Security.Claims.ClaimsPrincipal
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
GenericPrincipal ( System identity, string roles )
GenericPrincipal ( IIdentity identity, string roles ) : System
IsInRole ( string role ) : bool

비공개 메소드들

메소드 설명
AddIdentityWithRoles ( IIdentity identity, string roles ) : void

helper method to add roles

메소드 상세

GenericPrincipal() 공개 메소드

public GenericPrincipal ( System identity, string roles )
identity System
roles string

GenericPrincipal() 공개 메소드

public GenericPrincipal ( IIdentity identity, string roles ) : System
identity IIdentity
roles string
리턴 System

IsInRole() 공개 메소드

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