This documentation is archived and is not being maintained.

AccessControlEntry.GenericAccessRights Property

Gets or sets a set of common access rights that map to both standard and object-specific access rights for reading, writing, and executing.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public GenericAccessRights GenericAccessRights { get; set; }
/** @property */
public GenericAccessRights get_GenericAccessRights ()

/** @property */
public void set_GenericAccessRights (GenericAccessRights value)

public function get GenericAccessRights () : GenericAccessRights

public function set GenericAccessRights (value : GenericAccessRights)

Not applicable.

Property Value

A bitwise combination of the GenericAccessRights values.

Exception typeCondition


The value you set is not a valid combination of GenericAccessRights bitflag members.

Securable objects use the four high-order bits of the Windows 2000 and Windows NT access mask format to specify the generic access rights. Each type of securable object maps these bits to a set of its standard and object-specific access rights. Applications that define private securable objects can also use the generic access rights.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0