Skip to main content
.NET Framework 4.5.2+

ObjectAccess Enum

Contains values specifying access levels to an object.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.v22.1.dll

Declaration

[Flags]
public enum ObjectAccess

Members

Name Description
NoAccess

Represents an access level that does not allow anything. Its index is 0.

Read

Represents an access level that allows a user to read an object. Its index is 1.

Write

Represents an access level that allows a user to write an object. Its index is 2.

Create

Represents an access level that allows a user to create an object. Its index is 4.

Delete

Represents an access level that allowsa user to delete an object. Its index is 8.

Navigate

Represents an access level that allows a user to navigate to a View using the navigation control in the main window. Its index is 16.

AllAccess

Represents an access level to an object that includes reading, writing, creating, deleting and navigating via a navigation control. Its index is 31.

ChangeAccess

Represents an access level to an object that includes writing, creating and deleting. Its index is 14.

Remarks

Members of the ObjectAccess enumeration specify all available access levels to an object. This enumeration is used when creating a permission to an object for a user in the Security System.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ObjectAccess enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also