C# 클래스 Nettiers.AdventureWorks.Contracts.ExtendedPrincipal

This class is used to extend the Thread.CurrentPrincipal object and add our own custom properties and methods.
상속: IPrincipal
파일 보기 프로젝트 열기: netTiers/netTiers 1 사용 예제들

공개 메소드들

메소드 설명
CanPerformCommand ( System.Guid CommandGuid ) : bool

CanPerformCommand

CanPerformCommand ( string CommandGuid ) : bool

CanPerformCommand

ExtendedPrincipal ( IIdentity identity ) : System

Extended Principal Constructor

IsInRole ( System.Guid RoleGuid ) : bool

IsInRole

IsInRole ( string roleGuid ) : bool

IsInRole

메소드 상세

CanPerformCommand() 공개 메소드

CanPerformCommand
public CanPerformCommand ( System.Guid CommandGuid ) : bool
CommandGuid System.Guid Command Guid
리턴 bool

CanPerformCommand() 공개 메소드

CanPerformCommand
public CanPerformCommand ( string CommandGuid ) : bool
CommandGuid string Command Guid
리턴 bool

ExtendedPrincipal() 공개 메소드

Extended Principal Constructor
public ExtendedPrincipal ( IIdentity identity ) : System
identity IIdentity
리턴 System

IsInRole() 공개 메소드

IsInRole
public IsInRole ( System.Guid RoleGuid ) : bool
RoleGuid System.Guid Role Guid
리턴 bool

IsInRole() 공개 메소드

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