UserApiClientPutDatabaseAccessLevelAsync 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 public virtual Task<PutAccessLevelResponse> PutDatabaseAccessLevelAsync(
string username,
string dbName,
PutAccessLevelBody body
)
Public Overridable Function PutDatabaseAccessLevelAsync (
username As String,
dbName As String,
body As PutAccessLevelBody
) As Task(Of PutAccessLevelResponse)
public:
virtual Task<PutAccessLevelResponse^>^ PutDatabaseAccessLevelAsync(
String^ username,
String^ dbName,
PutAccessLevelBody^ body
)
abstract PutDatabaseAccessLevelAsync :
username : string *
dbName : string *
body : PutAccessLevelBody -> Task<PutAccessLevelResponse>
override 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:
TaskPutAccessLevelResponseImplements
IUserApiClientPutDatabaseAccessLevelAsync(String, String, PutAccessLevelBody)See Also