UserLocationAssignment

Represents the assignment between a location and a user.

Introduced in API version 57.0.

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

  • This object is only available in Salesforce Order Management orgs.
  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: User being associated with the location
  • Relationship name: AssignedTo
  • Relationship type: masterdetail
  • Refers to: User
  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Whether the location is active or not
  • Default value: false
  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: Location being associated to the User
  • Relationship name: Location
  • Relationship type: relationship
  • Refers to: Location
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Auto-generated number for the association
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: Username of the User that is associated to the Location

The UserLocationAssignment object associates a user to specified work locations. To assign a user to multiple locations, create Multiple UserLocationAssignment objects. Use the isActive field to indicates the user’s current active location.