System.Security.AccessControl.SemaphoreRights Enumeration

Specifies the access control rights that can be applied to named system semaphore objects.

Syntax

[System.Flags]
[System.Runtime.InteropServices.ComVisible(false)]
public enum SemaphoreRights

Remarks

Use the System.Security.AccessControl.SemaphoreRights enumeration to specify access control rights when you create System.Security.AccessControl.SemaphoreSecurity objects. To apply access rights to a named system semaphore, use System.Security.AccessControl.SemaphoreSecurity objects with the System.Threading.Semaphore.#ctor(int, int, string, Boolean@, SemaphoreSecurity) constructor and the System.Threading.Semaphore.SetAccessControl(SemaphoreSecurity) method.

For the numeric values of the underlying Windows access rights, see tp://go.microsoft.com/fwlink/p/?LinkId=243073 in the MSDN Library.

Note:

Security on synchronization objects is not supported for Windows 98 or Windows Millennium Edition.

Members

Member NameDescription
ChangePermissions

The right to change the security and audit rules associated with a named semaphore.

Delete

The right to delete a named semaphore.

FullControl

The right to exert full control over a named semaphore, and to modify its access rules and audit rules.

Modify

The right to release a named semaphore.

ReadPermissions

The right to open and copy the access rules and audit rules for a named semaphore.

Synchronize

The right to wait on a named semaphore.

TakeOwnership

The right to change the owner of a named semaphore.

Requirements

Namespace: System.Security.AccessControl
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0