FinSpaceData / Client / associate_user_to_permission_group

associate_user_to_permission_group#

FinSpaceData.Client.associate_user_to_permission_group(**kwargs)#

Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.associate_user_to_permission_group(
    permissionGroupId='string',
    userId='string',
    clientToken='string'
)
Parameters:
  • permissionGroupId (string) –

    [REQUIRED]

    The unique identifier for the permission group.

  • userId (string) –

    [REQUIRED]

    The unique identifier for the user.

  • clientToken (string) –

    A token that ensures idempotency. This token expires in 10 minutes.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'statusCode': 123
}

Response Structure

  • (dict) –

    • statusCode (integer) –

      The returned status code of the response.

Exceptions