UserApiClientGetAccessibleDatabasesAsync 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 public virtual Task<GetAccessibleDatabasesResponse> GetAccessibleDatabasesAsync(
string username,
GetAccessibleDatabasesQuery query = null
)
Public Overridable Function GetAccessibleDatabasesAsync (
username As String,
Optional query As GetAccessibleDatabasesQuery = Nothing
) As Task(Of GetAccessibleDatabasesResponse)
public:
virtual Task<GetAccessibleDatabasesResponse^>^ GetAccessibleDatabasesAsync(
String^ username,
GetAccessibleDatabasesQuery^ query = nullptr
)
abstract GetAccessibleDatabasesAsync :
username : string *
?query : GetAccessibleDatabasesQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<GetAccessibleDatabasesResponse>
override 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:
TaskGetAccessibleDatabasesResponseImplements
IUserApiClientGetAccessibleDatabasesAsync(String, GetAccessibleDatabasesQuery)See Also