IUserApiClientPutDatabaseAccessLevelAsync Method |
Sets the database 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> PutDatabaseAccessLevelAsync(
string username,
string dbName,
PutAccessLevelBody body
)
Function PutDatabaseAccessLevelAsync (
username As String,
dbName As String,
body As PutAccessLevelBody
) As Task(Of PutAccessLevelResponse)
Task<PutAccessLevelResponse^>^ PutDatabaseAccessLevelAsync(
String^ username,
String^ dbName,
PutAccessLevelBody^ body
)
abstract PutDatabaseAccessLevelAsync :
username : string *
dbName : string *
body : PutAccessLevelBody -> Task<PutAccessLevelResponse>
Parameters
- username
- Type: SystemString
The name of the user. - dbName
- Type: SystemString
The name of the database. - body
- Type: ArangoDBNetStandard.UserApi.ModelsPutAccessLevelBody
The body of the request containing the access level.
Return Value
Type:
TaskPutAccessLevelResponseSee Also