Skip to main content

Privileges

A privilege associates a resource with a permission. There are three possible permissions:

  1. READ — View, but not change a resource. For example, viewing the data in a database, but not updating the database.

  2. WRITE — View or change a resource. For example, viewing and updating the data in a database.

  3. USE — Execute or employ the resource. For example, executing an application or using a Caché service.

The format for writing a privilege is resource:permission. So, we write the read privilege on the EmployeeInfo database like this

%DB_EmployeeInfo:READ

where %DB_EmployeeInfo is the resource associated with the EmployeeInfo database.

FeedbackOpens in a new tab