C# 클래스 Frapid.DbPolicy.DbAccess

상속: IDbAccess
파일 보기 프로젝트 열기: frapid/frapid

공개 메소드들

메소드 설명
ValidateAsync ( AccessTypeEnum type, long loginId, string database, bool noException ) : System.Threading.Tasks.Task

Validates application user access rights to execute the function.

메소드 상세

ValidateAsync() 공개 메소드

Validates application user access rights to execute the function.
public ValidateAsync ( AccessTypeEnum type, long loginId, string database, bool noException ) : System.Threading.Tasks.Task
type AccessTypeEnum The access type being validated.
loginId long The login ID of application user making the request.
database string The name of the database on which policy is being validated on.
noException bool /// If this is switched off, UnauthorizedException is not thrown even when the caller does not /// have access rights to this function. ///
리턴 System.Threading.Tasks.Task