--- 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>
def get_custom_db_roles(opts: Optional[InvokeOptions] = None) -> GetCustomDbRolesResult
func LookupCustomDbRoles(ctx *Context, args *LookupCustomDbRolesArgs, opts ...InvokeOption) (*LookupCustomDbRolesResult, error)
public static class GetCustomDbRoles
{
public static Task<GetCustomDbRolesResult> InvokeAsync(GetCustomDbRolesArgs args, InvokeOptions? opts = null)
}