Export (0) Print
Expand All

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.

[Visual Basic]
Public Property GenericAccessRights As GenericAccessRights
public GenericAccessRights GenericAccessRights {get; set;}
public: __property GenericAccessRights get_GenericAccessRights();
public: __property void set_GenericAccessRights(GenericAccessRights);
public function get GenericAccessRights() : GenericAccessRights;
public function set GenericAccessRights(GenericAccessRights);

Property Value

A bitwise combination of the GenericAccessRights values.


Exception Type Condition
InvalidEnumArgumentException 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/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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

AccessControlEntry Class | AccessControlEntry Members | System.Messaging Namespace | StandardAccessRights | CustomAccessRights

© 2014 Microsoft