--- title: "getCustomDbRoles" title_tag: "mongodbatlas.getCustomDbRoles" meta_desc: "Documentation for the mongodbatlas.getCustomDbRoles function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true --- ## Using getCustomDbRoles {#using} {{< chooser language "typescript,python,go,csharp" / >}} {{% choosable language nodejs %}}
function getCustomDbRoles(args: GetCustomDbRolesArgs, opts?: InvokeOptions): Promise<GetCustomDbRolesResult>
{{% /choosable %}} {{% choosable language python %}}
def get_custom_db_roles(opts: Optional[InvokeOptions] = None) -> GetCustomDbRolesResult
{{% /choosable %}} {{% choosable language go %}}
func LookupCustomDbRoles(ctx *Context, args *LookupCustomDbRolesArgs, opts ...InvokeOption) (*LookupCustomDbRolesResult, error)
> Note: This function is named `LookupCustomDbRoles` in the Go SDK. {{% /choosable %}} {{% choosable language csharp %}}
public static class GetCustomDbRoles 
{
    public static Task<GetCustomDbRolesResult> InvokeAsync(GetCustomDbRolesArgs args, InvokeOptions? opts = null)
}
{{% /choosable %}} The following arguments are supported: {{% choosable language csharp %}}
{{% /choosable %}} {{% choosable language go %}}
{{% /choosable %}} {{% choosable language nodejs %}}
{{% /choosable %}} {{% choosable language python %}}
{{% /choosable %}} ## getCustomDbRoles Result {#result} The following output properties are available: {{% choosable language csharp %}}
Result GetCustomDbRolesResult
{{% md %}}{{% /md %}}
{{% /choosable %}} {{% choosable language go %}}
Result GetCustomDbRolesResult
{{% md %}}{{% /md %}}
{{% /choosable %}} {{% choosable language nodejs %}}
result GetCustomDbRolesResult
{{% md %}}{{% /md %}}
{{% /choosable %}} {{% choosable language python %}}
result GetCustomDbRolesResult
{{% md %}}{{% /md %}}
{{% /choosable %}}

Package Details

Repository
License