IUserApiClientGetAccessibleDatabasesAsync Method |
Fetch the list of databases available to the specified user.
You need Administrate for the server access level in order to execute this REST call.
Namespace:
ArangoDBNetStandard.UserApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<GetAccessibleDatabasesResponse> GetAccessibleDatabasesAsync(
string username,
GetAccessibleDatabasesQuery query = null
)
Function GetAccessibleDatabasesAsync (
username As String,
Optional query As GetAccessibleDatabasesQuery = Nothing
) As Task(Of GetAccessibleDatabasesResponse)
Task<GetAccessibleDatabasesResponse^>^ GetAccessibleDatabasesAsync(
String^ username,
GetAccessibleDatabasesQuery^ query = nullptr
)
abstract GetAccessibleDatabasesAsync :
username : string *
?query : GetAccessibleDatabasesQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<GetAccessibleDatabasesResponse>
Parameters
- username
- Type: SystemString
The name of the user. - query (Optional)
- Type: ArangoDBNetStandard.UserApi.ModelsGetAccessibleDatabasesQuery
Optional query parameters for the request.
Return Value
Type:
TaskGetAccessibleDatabasesResponseSee Also