ThreadingAclExtensions.GetAccessControl Method

Definition

Overloads

GetAccessControl(EventWaitHandle)

Returns the security descriptors for the specified handle.

GetAccessControl(Mutex)

Returns the security descriptors for the specified mutex.

GetAccessControl(Semaphore)

Returns the security descriptors for the specified semaphore.

GetAccessControl(EventWaitHandle)

Returns the security descriptors for the specified handle.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::EventWaitHandleSecurity ^ GetAccessControl(System::Threading::EventWaitHandle ^ handle);
public static System.Security.AccessControl.EventWaitHandleSecurity GetAccessControl (this System.Threading.EventWaitHandle handle);
static member GetAccessControl : System.Threading.EventWaitHandle -> System.Security.AccessControl.EventWaitHandleSecurity
<Extension()>
Public Function GetAccessControl (handle As EventWaitHandle) As EventWaitHandleSecurity

Parameters

handle
EventWaitHandle

The event wait handle from which the security descriptors should be returned.

Returns

EventWaitHandleSecurity

The security descriptors for the specified handle.

GetAccessControl(Mutex)

Returns the security descriptors for the specified mutex.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::MutexSecurity ^ GetAccessControl(System::Threading::Mutex ^ mutex);
public static System.Security.AccessControl.MutexSecurity GetAccessControl (this System.Threading.Mutex mutex);
static member GetAccessControl : System.Threading.Mutex -> System.Security.AccessControl.MutexSecurity
<Extension()>
Public Function GetAccessControl (mutex As Mutex) As MutexSecurity

Parameters

mutex
Mutex

The mutex from which the security descriptors should be returned.

Returns

MutexSecurity

The security descriptors for the specified mutex.

GetAccessControl(Semaphore)

Returns the security descriptors for the specified semaphore.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::SemaphoreSecurity ^ GetAccessControl(System::Threading::Semaphore ^ semaphore);
public static System.Security.AccessControl.SemaphoreSecurity GetAccessControl (this System.Threading.Semaphore semaphore);
static member GetAccessControl : System.Threading.Semaphore -> System.Security.AccessControl.SemaphoreSecurity
<Extension()>
Public Function GetAccessControl (semaphore As Semaphore) As SemaphoreSecurity

Parameters

semaphore
Semaphore

The semaphore from which the security descriptors should be returned.

Returns

SemaphoreSecurity

The security descriptors for the specified semaphore.

Applies to