User Inclusion

Get

Retrieve FSLogix Profile Container User Inclusion List of a Site Defaults object.

GET/api/AVD/DefaultSettings/SingleSession/FSLogix/ProfileContainer/UserInclusion
Query parameters
Response

Success

Body
accountnullable string

The name of the user/group account the filter is added to.

typeUserType (enum)

User Type

1 = User,2 = Group,3 = ForeignSecurityPrincipal,4 = Computer
sidnullable string

The SID of the user/group account the filter is added to.

Request
const response = await fetch('/api/AVD/DefaultSettings/SingleSession/FSLogix/ProfileContainer/UserInclusion', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "account": "text",
    "type": [
      "1 = User",
      "2 = Group",
      "3 = ForeignSecurityPrincipal",
      "4 = Computer"
    ],
    "sid": "text"
  }
]

Add

Add a user to the User Inclusion List of the FSLogix Profile Container settings.

POST/api/AVD/DefaultSettings/SingleSession/FSLogix/ProfileContainer/UserInclusion
Query parameters
Body

User configuration.

accountnullable string

The name of the user/group account to add to the FSLogix Container.

sidnullable string

The SID of the user/group account to add to the FSLogix Container.

Response

Created

Request
const response = await fetch('/api/AVD/DefaultSettings/SingleSession/FSLogix/ProfileContainer/UserInclusion', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

Delete

Remove a user from the User Inclusion List of the FSLogix Profile Container settings.

DELETE/api/AVD/DefaultSettings/SingleSession/FSLogix/ProfileContainer/UserInclusion
Query parameters
Body

User configuration.

accountnullable string

The name of the user/group account to remove from the FSLogix Container.

sidnullable string

The SID of the user/group account to remove from the FSLogix Container.

Response

No Content

Request
const response = await fetch('/api/AVD/DefaultSettings/SingleSession/FSLogix/ProfileContainer/UserInclusion', {
    method: 'DELETE',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

© 2024 Parallels International GmbH. All rights reserved.