Skip to main content
  • Grants membership in a role to a user or role.

    Parameters

    • role: string

      Name of the role in which membership will be granted. Must be an existing role.

    • member: string

      Name of the user or role that will be granted membership in role. Must be an existing user or role.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<GrantRoleResponse>

    Promise<Types.GrantRoleResponse> - Promise resolving to the response