Skip to main content

ScopedAccess

Properties​

NameTypeDescriptionNotes
TypeScopedAccessType[optional]
IdStringUnique identifier of the access item.[optional]
NameStringName of the access item.[optional]
DescriptionStringDescription of the access item.[optional]
SourceNameStringName of the source that provides this access.[optional]
PrivilegedBooleanDeprecated. Replaced by effectivePrivilege (HIGH, MEDIUM, LOW, NONE). Indicates if the access item is privileged. Retained for backward compatibility.[optional] [default to $false]
AttributeNameStringName of the attribute that defines this access.[optional]
AttributeValueStringValue of the attribute that defines this access.[optional]
HasDataAccessBooleanIndicates whether this access grants data access.[optional] [default to $false]

Examples​

  • Prepare the resource
$ScopedAccess = Initialize-ScopedAccess -Type null `
-Id 2c918085718230600171993742c63558 `
-Name CN=entitlement.bbb7c650 `
-Description Gives read/write access to the company database `
-SourceName Active Directory `
-Privileged false `
-AttributeName memberOf `
-AttributeValue CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local `
-HasDataAccess false
  • Convert the resource to JSON
$ScopedAccess | ConvertTo-JSON

[Back to top]