# List security profile assignments

Endpoint: GET /securityprofiles/assignments
Version: 1.0.457.36910
Security: OAuth2

## Query parameters:

  - `buyerID` (string)
    ID of the buyer.

  - `supplierID` (string)
    ID of the supplier.

  - `securityProfileID` (string)
    ID of the security profile.

  - `userID` (string)
    ID of the user.

  - `userGroupID` (string)
    ID of the user group.

  - `commerceRole` (string)
    Commerce role of the security profile assignment. Possible values: Buyer, Seller, Supplier.
    Enum: "Buyer", "Seller", "Supplier"

  - `level` (string)
    Level of the security profile assignment. Possible values: User, Group, Company, BuyerGroup.
    Enum: "User", "Group", "Company", "BuyerGroup"

  - `page` (integer)
    Page of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.

  - `pageSize` (integer)
    Number of results to return per page.

## Response 200 fields (application/json):

  - `Items` (array)
    Example: [{"SecurityProfileID":"","BuyerID":"","SupplierID":"","UserID":"","UserGroupID":""}]

  - `Items.SecurityProfileID` (string)

  - `Items.BuyerID` (string)

  - `Items.SupplierID` (string)

  - `Items.UserID` (string)

  - `Items.UserGroupID` (string)

  - `Meta` (object)

  - `Meta.Page` (integer)

  - `Meta.PageSize` (integer)

  - `Meta.TotalCount` (integer)

  - `Meta.TotalPages` (integer)

  - `Meta.ItemRange` (array)

  - `Meta.NextPageKey` (string)

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: "404"

  - `ErrorCode` (string)
    Example: "NotFoundError"

  - `Message` (string)
    Example: "Object not found"

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}


