Gets a list of Object Privileges granted a user.
GET {{baseUrl}}/managedDatabases/:managedDatabaseId/users/:userName/objectPrivileges?name=<string>&sortBy=NAME&sortOrder=ASC&limit=10&page=<string>
Gets the list of object privileges granted to a specific user.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
name | string | A filter to return only resources that match the entire name. | |
sortBy | string | The field to sort information by. Only one sortOrder can be used. The default sort order | |
for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. | |||
sortOrder | string | The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. | |
limit | number | The maximum number of records returned in the paginated response. | |
page | string | The page token representing the page from where the next set of paginated results | |
are retrieved. This is usually retrieved from a previous list call. | |||
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
opc-named-credential-id | string | The OCID of the Named Credential. | |
Accept | string |
RESPONSES
status: OK
{"items":[{"common":"YES","grantOption":"NO","grantor":"\u003cstring\u003e","hierarchy":"NO","inherited":"NO","name":"\u003cstring\u003e","object":"\u003cstring\u003e","owner":"\u003cstring\u003e","schemaType":"\u003cstring\u003e"},{"common":"NO","grantOption":"NO","grantor":"\u003cstring\u003e","hierarchy":"NO","inherited":"NO","name":"\u003cstring\u003e","object":"\u003cstring\u003e","owner":"\u003cstring\u003e","schemaType":"\u003cstring\u003e"}]}