SubstituteUser Examples

Query All Substitute users

Query for all substitute users.

[
  {
    "Action": "Query",
    "QueryType": "SubstituteUserAll",
    "DomainType": "Replicon.Domain.SubstituteUser",
    "Args": []
  }
]

Query All Substitute users by Id

Query for all substitute users by user Id.

[
  {
    "Action": "Query",
    "QueryType": "SubstituteUserById",
    "DomainType": "Replicon.Domain.SubstituteUser",
    "Args": [
      [
        1
      ]
    ]
  }
]

Query All Substitute users by Id load Domain User

Query for all substitute users by user Id and load the relationship to a user (Replicon.Domain.User).

[
  {
    "Action": "Query",
    "QueryType": "SubstituteUserById",
    "DomainType": "Replicon.Domain.SubstituteUser",
    "Args": [
      [
        1
      ]
    ],
    "Load": [
      {
        "Relationship": "Substitute",
        "DomainType": "Replicon.Domain.User"
      }
    ]
  }
]