Skip to main content

IdentityWithNewAccess

Properties

NameTypeDescriptionNotes
IdentityIdStringIdentity id to be checked.[required]
AccessRefs[]IdentityWithNewAccessAccessRefsInnerThe list of entitlements to consider for possible violations in a preventive check.[required]
SourceIdAndNativeIdToEntitlementIdsMappings[]SourceIdAndNativeIdToEntitlementIdsMappingMappings between sourceId and nativeId to entitlement IDs for which access is requested. This is only being used for ARM analysis in case of user having multiple accounts on the same source on which entitlement is requested. Optional parameter that helps identify which account the entitlement is requested on. For scenarios where users have a single account on the source and do not provide this field, the available account is chosen.[optional]

Examples

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

[Back to top]