IUserApiClientPutCollectionAccessLevelAsync Method |
Sets the collection access levels of a user for a given database.
You need the Administrate server access level in order to execute this REST call.
Namespace:
ArangoDBNetStandard.UserApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PutAccessLevelResponse> PutCollectionAccessLevelAsync(
string username,
string dbName,
string collectionName,
PutAccessLevelBody body
)
Function PutCollectionAccessLevelAsync (
username As String,
dbName As String,
collectionName As String,
body As PutAccessLevelBody
) As Task(Of PutAccessLevelResponse)
Task<PutAccessLevelResponse^>^ PutCollectionAccessLevelAsync(
String^ username,
String^ dbName,
String^ collectionName,
PutAccessLevelBody^ body
)
abstract PutCollectionAccessLevelAsync :
username : string *
dbName : string *
collectionName : string *
body : PutAccessLevelBody -> Task<PutAccessLevelResponse>
Parameters
- username
- Type: SystemString
The name of the user. - dbName
- Type: SystemString
The name of the database. - collectionName
- Type: SystemString
The name of the collection. - body
- Type: ArangoDBNetStandard.UserApi.ModelsPutAccessLevelBody
The body of the request containing the access level.
Return Value
Type:
TaskPutAccessLevelResponseSee Also