C# 클래스 cMsmq.Security

파일 보기 프로젝트 열기: SNikalaichyk/cMsmq

공개 메소드들

메소드 설명
GetAccessMask ( QueuePath queuePath, string userName ) : MessageQueueAccessRights
GetOwner ( QueuePath queuePath ) : string

비공개 메소드들

메소드 설명
ConvertSidToStringSid ( [ pSid, IntPtr &pStringSid ) : bool
GetAce ( IntPtr pSecurityDescriptor, string sid ) : ACCESS_ALLOWED_ACE
GetAce ( IntPtr pAcl, int dwAceIndex, IntPtr &pAce ) : int
GetAclInformation ( IntPtr pAcl, ACL_SIZE_INFORMATION &pAclInformation, uint nAclInformationLength, ACL_INFORMATION_CLASS dwAclInformationClass ) : bool
GetErrorMessage ( uint errorCode ) : string
GetLengthSid ( IntPtr pSid ) : int
GetSecurityDescriptorDacl ( IntPtr pSecurityDescriptor, [ lpbDaclPresent, IntPtr &pDacl, [ lpbDaclDefaulted ) : bool
GetSecurityDescriptorHandle ( QueuePath queuePath, int securityInformation ) : GCHandle
GetSecurityDescriptorOwner ( IntPtr pSecurityDescriptor, IntPtr &pOwner, [ lpbOwnerDefaulted ) : bool
MQGetQueueSecurity ( [ lpwcsFormatName, int SecurityInformation, IntPtr pSecurityDescriptor, int nLength, int &lpnLengthNeeded ) : uint
TranslateSidToUserName ( System.Security.Principal.SecurityIdentifier sid ) : string
TranslateUserNameToSid ( string userName ) : string

메소드 상세

GetAccessMask() 공개 정적인 메소드

public static GetAccessMask ( QueuePath queuePath, string userName ) : MessageQueueAccessRights
queuePath QueuePath
userName string
리턴 MessageQueueAccessRights

GetOwner() 공개 정적인 메소드

public static GetOwner ( QueuePath queuePath ) : string
queuePath QueuePath
리턴 string