Skip to main content

Entitlement

Properties

NameTypeDescriptionNotes
IdStringThe entitlement id[optional]
NameStringThe entitlement name[optional]
AttributeStringThe entitlement attribute name[optional]
ValueStringThe value of the entitlement[optional]
SourceSchemaObjectTypeStringThe object type of the entitlement from the source schema[optional]
DescriptionStringThe description of the entitlement[optional]
PrivilegedBooleanTrue if the entitlement is privileged[optional]
CloudGovernedBooleanTrue if the entitlement is cloud governed[optional]
CreatedSystem.DateTimeTime when the entitlement was created[optional]
ModifiedSystem.DateTimeTime when the entitlement was last modified[optional]
SourceEntitlementSource[optional]
Attributes[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4A map of free-form key-value pairs from the source system[optional]
Segments[]StringList of IDs of segments, if any, to which this Entitlement is assigned.[optional]
DirectPermissions[]PermissionDto[optional]

Examples

  • Prepare the resource
$Entitlement = Initialize-PSSailpoint.V2024Entitlement  -Id 2c91808874ff91550175097daaec161c `
-Name LauncherTest2 `
-Attribute memberOf `
-Value CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local `
-SourceSchemaObjectType group `
-Description CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local `
-Privileged true `
-CloudGoverned true `
-Created 2020-10-08T18:33:52.029Z `
-Modified 2020-10-08T18:33:52.029Z `
-Source null `
-Attributes {fieldName=fieldValue} `
-Segments [f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a] `
-DirectPermissions null
  • Convert the resource to JSON
$Entitlement | ConvertTo-JSON

[Back to top]