Skip to main content

IdentityWithNewAccess

Properties​

NameTypeDescriptionNotes
IdentityIdStringIdentity id to be checked.[required]
AccessRefs[]IdentityWithNewAccessAccessRefsInnerThe list of access items to consider for possible violations in a preventive check. Supported types are ENTITLEMENT, ACCESS_PROFILE, and ROLE.[required]

Examples​

  • Prepare the resource
$IdentityWithNewAccess = Initialize-IdentityWithNewAccess -IdentityId 2c91808568c529c60168cca6f90c1313 `
-AccessRefs [{"type":"ENTITLEMENT","id":"2c918087682f9a86016839c050861ab1"},{"type":"ACCESS_PROFILE","id":"2c918087682f9a86016839c0509c1ab2"},{"type":"ROLE","id":"2c918087682f9a86016839c050a01ab3"}]
  • Convert the resource to JSON
$IdentityWithNewAccess | ConvertTo-JSON

[Back to top]