UserApiClientPutUserAsync Method |
Replace an existing user.
You need server access level Administrate in order to execute this REST call.
Additionally, a user can change his/her own data.
Namespace:
ArangoDBNetStandard.UserApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<PutUserResponse> PutUserAsync(
string username,
PutUserBody body
)
Public Overridable Function PutUserAsync (
username As String,
body As PutUserBody
) As Task(Of PutUserResponse)
public:
virtual Task<PutUserResponse^>^ PutUserAsync(
String^ username,
PutUserBody^ body
)
abstract PutUserAsync :
username : string *
body : PutUserBody -> Task<PutUserResponse>
override PutUserAsync :
username : string *
body : PutUserBody -> Task<PutUserResponse>
Parameters
- username
- Type: SystemString
The name of the user. - body
- Type: ArangoDBNetStandard.UserApi.ModelsPutUserBody
The user information used for to replace operation.
Return Value
Type:
TaskPutUserResponseImplements
IUserApiClientPutUserAsync(String, PutUserBody)See Also