C# 클래스 Logistics.Security.LogisticsCheckAccess

NetSqlAzMan Check Access Helper Class for NetSqlAzMan 'Logistics' Application
상속: ILogisticsCheckAccess
파일 보기 프로젝트 열기: edgecomputing/cats 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
mStorage NetSqlAzMan.Interfaces.IAzManStorage
windowsIdentity System.Security.Principal.WindowsIdentity

공개 메소드들

메소드 설명
CheckAccess ( System.Operation operation ) : bool

Checks the access [FOR Windows Users ONLY].

CheckAccess ( System.Operation operation, IAzManSid dbUserName ) : bool
CheckAccess ( System.Operation operation, NetSqlAzMan customSID ) : bool

Checks the access [FOR custom SID ONLY].

CheckAccess ( System.Operation operation, NetSqlAzMan customSID, string>.System &attributes ) : bool

Checks the access [FOR custom SID ONLY].

CheckAccess ( System.Operation operation, string>.System &attributes ) : bool

Checks the access [FOR Windows Users ONLY].

CheckAccess ( System.Operation operation, string dbUserName ) : bool

Checks the access [FOR DB Users ONLY].

CheckAccess ( System.Operation operation, string dbUserName, string>.System &attributes ) : bool

Checks the access [FOR DB Users ONLY].

CheckAccess ( Role role ) : bool

Checks the access [FOR Windows Users ONLY].

CheckAccess ( Role role, NetSqlAzMan customSID ) : bool

Checks the access [FOR custom SID ONLY].

CheckAccess ( Role role, NetSqlAzMan customSID, string>.System &attributes ) : bool

Checks the access [FOR Custom SID ONLY].

CheckAccess ( Role role, string>.System &attributes ) : bool

Checks the access [FOR Windows Users ONLY].

CheckAccess ( Role role, string dbUserName ) : bool

Checks the access [FOR DB Users ONLY].

CheckAccess ( Role role, string dbUserName, string>.System &attributes ) : bool

Checks the access [FOR DB Users ONLY].

CheckAccess ( System.Threading.Tasks.Task task ) : bool

Checks the access [FOR Windows Users ONLY].

CheckAccess ( System.Threading.Tasks.Task task, NetSqlAzMan customSID ) : bool

Checks the access [FOR Custom SID ONLY].

CheckAccess ( System.Threading.Tasks.Task task, NetSqlAzMan customSID, string>.System &attributes ) : bool

Checks the access [FOR Custom SID ONLY].

CheckAccess ( System.Threading.Tasks.Task task, string>.System &attributes ) : bool

Checks the access [FOR Windows Users ONLY].

CheckAccess ( System.Threading.Tasks.Task task, string dbUserName ) : bool

Checks the access [FOR DB Users ONLY].

CheckAccess ( System.Threading.Tasks.Task task, string dbUserName, string>.System &attributes ) : bool

Checks the access [FOR DB Users ONLY].

CloseConnection ( ) : void

Closes the connection

GetAuthorizationType ( System.Operation operation ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Windows Users ONLY].

GetAuthorizationType ( System.Operation operation, NetSqlAzMan customSID ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Custom SID ONLY].

GetAuthorizationType ( System.Operation operation, NetSqlAzMan customSID, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR custom SID ONLY].

GetAuthorizationType ( System.Operation operation, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Windows Users ONLY].

GetAuthorizationType ( System.Operation operation, string dbUserName ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR DB Users ONLY].

GetAuthorizationType ( System.Operation operation, string dbUserName, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR DB Users ONLY].

GetAuthorizationType ( Role role ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Windows Users ONLY].

GetAuthorizationType ( Role role, NetSqlAzMan customSID ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Custom SID ONLY].

GetAuthorizationType ( Role role, NetSqlAzMan customSID, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Custom SID ONLY].

GetAuthorizationType ( Role role, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Windows Users ONLY].

GetAuthorizationType ( Role role, string dbUserName ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR DB Users ONLY].

GetAuthorizationType ( Role role, string dbUserName, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR DB Users ONLY].

GetAuthorizationType ( System.Threading.Tasks.Task task ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Windows Users ONLY].

GetAuthorizationType ( System.Threading.Tasks.Task task, NetSqlAzMan customSID ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Custom SID ONLY].

GetAuthorizationType ( System.Threading.Tasks.Task task, NetSqlAzMan customSID, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR custom SID ONLY].

GetAuthorizationType ( System.Threading.Tasks.Task task, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR Windows Users ONLY].

GetAuthorizationType ( System.Threading.Tasks.Task task, string dbUserName ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR DB Users ONLY].

GetAuthorizationType ( System.Threading.Tasks.Task task, string dbUserName, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Gets the Authorization Type [FOR DB Users ONLY].

ItemName ( System.Operation operation ) : string

Retrieve Item name from a Operation Enum.

ItemName ( Role role ) : string

Retrieve Item name from a Role Enum.

ItemName ( System.Threading.Tasks.Task task ) : string

Retrieve Item name from a Task Enum.

LogisticsCheckAccess ( string storageConnectionString ) : System

Initializes a new instance of the T:LogisticsCheckAccess class [DB Users ONLY].

LogisticsCheckAccess ( string storageConnectionString, System windowsIdentity ) : System

Initializes a new instance of the T:LogisticsCheckAccess class [Windows Users ONLY].

OpenConnection ( ) : void

Opens the connection

보호된 메소드들

메소드 설명
CheckAccess ( string itemName, NetSqlAzMan customSID, bool operationsOnly ) : NetSqlAzMan.Interfaces.AuthorizationType

Checks the access [FOR custom SID ONLY].

CheckAccess ( string itemName, NetSqlAzMan customSID, bool operationsOnly, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Checks the access [FOR Custom SID ONLY].

CheckAccess ( string itemName, bool operationsOnly ) : NetSqlAzMan.Interfaces.AuthorizationType

Checks the access [FOR Windows Users ONLY].

CheckAccess ( string itemName, bool operationsOnly, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Checks the access [FOR Windows Users ONLY].

CheckAccess ( string itemName, string dbUserName, bool operationsOnly ) : NetSqlAzMan.Interfaces.AuthorizationType

Checks the access [FOR DB Users ONLY].

CheckAccess ( string itemName, string dbUserName, bool operationsOnly, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType

Checks the access [FOR DB Users ONLY].

메소드 상세

CheckAccess() 보호된 메소드

Checks the access [FOR custom SID ONLY].
protected CheckAccess ( string itemName, NetSqlAzMan customSID, bool operationsOnly ) : NetSqlAzMan.Interfaces.AuthorizationType
itemName string The Item Name.
customSID NetSqlAzMan The custom SID.
operationsOnly bool if set to true checks the access for operations only.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

CheckAccess() 보호된 메소드

Checks the access [FOR Custom SID ONLY].
protected CheckAccess ( string itemName, NetSqlAzMan customSID, bool operationsOnly, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
itemName string The Item Name.
customSID NetSqlAzMan The custom SID.
operationsOnly bool if set to true checks the access for operations only.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

CheckAccess() 보호된 메소드

Checks the access [FOR Windows Users ONLY].
protected CheckAccess ( string itemName, bool operationsOnly ) : NetSqlAzMan.Interfaces.AuthorizationType
itemName string The Item Name.
operationsOnly bool if set to true checks the access for operations only.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

CheckAccess() 보호된 메소드

Checks the access [FOR Windows Users ONLY].
protected CheckAccess ( string itemName, bool operationsOnly, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
itemName string The Item Name.
operationsOnly bool if set to true checks the access for operations only.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

CheckAccess() 보호된 메소드

Checks the access [FOR DB Users ONLY].
protected CheckAccess ( string itemName, string dbUserName, bool operationsOnly ) : NetSqlAzMan.Interfaces.AuthorizationType
itemName string The Item Name.
dbUserName string The DB User Name.
operationsOnly bool if set to true checks the access for operations only.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

CheckAccess() 보호된 메소드

Checks the access [FOR DB Users ONLY].
protected CheckAccess ( string itemName, string dbUserName, bool operationsOnly, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
itemName string The Item Name.
dbUserName string The DB User Name.
operationsOnly bool if set to true checks the access for operations only.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

CheckAccess() 공개 메소드

Checks the access [FOR Windows Users ONLY].
public CheckAccess ( System.Operation operation ) : bool
operation System.Operation The Operation.
리턴 bool

CheckAccess() 공개 메소드

public CheckAccess ( System.Operation operation, IAzManSid dbUserName ) : bool
operation System.Operation
dbUserName IAzManSid
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR custom SID ONLY].
public CheckAccess ( System.Operation operation, NetSqlAzMan customSID ) : bool
operation System.Operation The Operation.
customSID NetSqlAzMan The custom SID.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR custom SID ONLY].
public CheckAccess ( System.Operation operation, NetSqlAzMan customSID, string>.System &attributes ) : bool
operation System.Operation The Operation.
customSID NetSqlAzMan The custom SID.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Windows Users ONLY].
public CheckAccess ( System.Operation operation, string>.System &attributes ) : bool
operation System.Operation The Operation.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR DB Users ONLY].
public CheckAccess ( System.Operation operation, string dbUserName ) : bool
operation System.Operation The Operation.
dbUserName string The DB UserName.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR DB Users ONLY].
public CheckAccess ( System.Operation operation, string dbUserName, string>.System &attributes ) : bool
operation System.Operation The Operation.
dbUserName string The DB UserName.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Windows Users ONLY].
public CheckAccess ( Role role ) : bool
role Role The Role.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR custom SID ONLY].
public CheckAccess ( Role role, NetSqlAzMan customSID ) : bool
role Role The Role.
customSID NetSqlAzMan The custom SID.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Custom SID ONLY].
public CheckAccess ( Role role, NetSqlAzMan customSID, string>.System &attributes ) : bool
role Role The Role.
customSID NetSqlAzMan The custom SID.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Windows Users ONLY].
public CheckAccess ( Role role, string>.System &attributes ) : bool
role Role The Role.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR DB Users ONLY].
public CheckAccess ( Role role, string dbUserName ) : bool
role Role The Role.
dbUserName string The DB UserName.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR DB Users ONLY].
public CheckAccess ( Role role, string dbUserName, string>.System &attributes ) : bool
role Role The Role.
dbUserName string The DB UserName.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Windows Users ONLY].
public CheckAccess ( System.Threading.Tasks.Task task ) : bool
task System.Threading.Tasks.Task The Task.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Custom SID ONLY].
public CheckAccess ( System.Threading.Tasks.Task task, NetSqlAzMan customSID ) : bool
task System.Threading.Tasks.Task The Task.
customSID NetSqlAzMan The Custom SID.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Custom SID ONLY].
public CheckAccess ( System.Threading.Tasks.Task task, NetSqlAzMan customSID, string>.System &attributes ) : bool
task System.Threading.Tasks.Task The Task.
customSID NetSqlAzMan The custom SID.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR Windows Users ONLY].
public CheckAccess ( System.Threading.Tasks.Task task, string>.System &attributes ) : bool
task System.Threading.Tasks.Task The Task.
attributes string>.System Retrieved attributes.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR DB Users ONLY].
public CheckAccess ( System.Threading.Tasks.Task task, string dbUserName ) : bool
task System.Threading.Tasks.Task The Task.
dbUserName string The DB UserName.
리턴 bool

CheckAccess() 공개 메소드

Checks the access [FOR DB Users ONLY].
public CheckAccess ( System.Threading.Tasks.Task task, string dbUserName, string>.System &attributes ) : bool
task System.Threading.Tasks.Task The Task.
dbUserName string The DB UserName.
attributes string>.System Retrieved attributes.
리턴 bool

CloseConnection() 공개 메소드

Closes the connection
public CloseConnection ( ) : void
리턴 void

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Windows Users ONLY].
public GetAuthorizationType ( System.Operation operation ) : NetSqlAzMan.Interfaces.AuthorizationType
operation System.Operation The Operation.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Custom SID ONLY].
public GetAuthorizationType ( System.Operation operation, NetSqlAzMan customSID ) : NetSqlAzMan.Interfaces.AuthorizationType
operation System.Operation The Operation.
customSID NetSqlAzMan The Custom SID.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR custom SID ONLY].
public GetAuthorizationType ( System.Operation operation, NetSqlAzMan customSID, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
operation System.Operation The Operation.
customSID NetSqlAzMan The Custom SID.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Windows Users ONLY].
public GetAuthorizationType ( System.Operation operation, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
operation System.Operation The Operation.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR DB Users ONLY].
public GetAuthorizationType ( System.Operation operation, string dbUserName ) : NetSqlAzMan.Interfaces.AuthorizationType
operation System.Operation The Operation.
dbUserName string The DB UserName.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR DB Users ONLY].
public GetAuthorizationType ( System.Operation operation, string dbUserName, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
operation System.Operation The Operation.
dbUserName string The DB UserName.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Windows Users ONLY].
public GetAuthorizationType ( Role role ) : NetSqlAzMan.Interfaces.AuthorizationType
role Role The Role.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Custom SID ONLY].
public GetAuthorizationType ( Role role, NetSqlAzMan customSID ) : NetSqlAzMan.Interfaces.AuthorizationType
role Role The Role.
customSID NetSqlAzMan The custom SID.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Custom SID ONLY].
public GetAuthorizationType ( Role role, NetSqlAzMan customSID, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
role Role The Role.
customSID NetSqlAzMan The custom SID.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Windows Users ONLY].
public GetAuthorizationType ( Role role, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
role Role The Role.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR DB Users ONLY].
public GetAuthorizationType ( Role role, string dbUserName ) : NetSqlAzMan.Interfaces.AuthorizationType
role Role The Role.
dbUserName string The DB UserName.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR DB Users ONLY].
public GetAuthorizationType ( Role role, string dbUserName, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
role Role The Role.
dbUserName string The DB UserName.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Windows Users ONLY].
public GetAuthorizationType ( System.Threading.Tasks.Task task ) : NetSqlAzMan.Interfaces.AuthorizationType
task System.Threading.Tasks.Task The Task.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Custom SID ONLY].
public GetAuthorizationType ( System.Threading.Tasks.Task task, NetSqlAzMan customSID ) : NetSqlAzMan.Interfaces.AuthorizationType
task System.Threading.Tasks.Task The Task.
customSID NetSqlAzMan The Custom SID.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR custom SID ONLY].
public GetAuthorizationType ( System.Threading.Tasks.Task task, NetSqlAzMan customSID, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
task System.Threading.Tasks.Task The Task.
customSID NetSqlAzMan The Custom SID.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR Windows Users ONLY].
public GetAuthorizationType ( System.Threading.Tasks.Task task, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
task System.Threading.Tasks.Task The Task.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR DB Users ONLY].
public GetAuthorizationType ( System.Threading.Tasks.Task task, string dbUserName ) : NetSqlAzMan.Interfaces.AuthorizationType
task System.Threading.Tasks.Task The Task.
dbUserName string The DB UserName.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

GetAuthorizationType() 공개 메소드

Gets the Authorization Type [FOR DB Users ONLY].
public GetAuthorizationType ( System.Threading.Tasks.Task task, string dbUserName, string>.System &attributes ) : NetSqlAzMan.Interfaces.AuthorizationType
task System.Threading.Tasks.Task The Task.
dbUserName string The DB UserName.
attributes string>.System Retrieved attributes.
리턴 NetSqlAzMan.Interfaces.AuthorizationType

ItemName() 공개 메소드

Retrieve Item name from a Operation Enum.
public ItemName ( System.Operation operation ) : string
operation System.Operation The operation.
리턴 string

ItemName() 공개 메소드

Retrieve Item name from a Role Enum.
public ItemName ( Role role ) : string
role Role The role.
리턴 string

ItemName() 공개 메소드

Retrieve Item name from a Task Enum.
public ItemName ( System.Threading.Tasks.Task task ) : string
task System.Threading.Tasks.Task The task.
리턴 string

LogisticsCheckAccess() 공개 메소드

Initializes a new instance of the T:LogisticsCheckAccess class [DB Users ONLY].
public LogisticsCheckAccess ( string storageConnectionString ) : System
storageConnectionString string The storage connection string.
리턴 System

LogisticsCheckAccess() 공개 메소드

Initializes a new instance of the T:LogisticsCheckAccess class [Windows Users ONLY].
public LogisticsCheckAccess ( string storageConnectionString, System windowsIdentity ) : System
storageConnectionString string The storage connection string.
windowsIdentity System The Windows Principal Identity.
리턴 System

OpenConnection() 공개 메소드

Opens the connection
public OpenConnection ( ) : void
리턴 void

프로퍼티 상세

mStorage 보호되어 있는 프로퍼티

NetSqlAzMan Storage reference.
protected IAzManStorage,NetSqlAzMan.Interfaces mStorage
리턴 NetSqlAzMan.Interfaces.IAzManStorage

windowsIdentity 보호되어 있는 프로퍼티

User Windows Principal Identity.
protected WindowsIdentity,System.Security.Principal windowsIdentity
리턴 System.Security.Principal.WindowsIdentity