Skip to main content

Accountv2

Properties

NameTypeDescriptionNotes
IdStringThe unique identifier of the account.[required]
NameStringThe name of the account.[required]
NativeIdentityStringThe unique ID of the account generated by the source system.[required]
UuidStringThe unique ID associated with this account.[required]
CorrelatedBooleanIndicates if the account is correlated to an identity.[required]
IsMachineBooleanIndicates if the account is a machine account.[required]
OriginStringThe origin of the account.[required]
Attributes[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4The attributes of the account. The contents of attributes depends on the account schema for the source.[required]

Examples

  • Prepare the resource
$Accountv2 = Initialize-Accountv2  -Id 2c9180835d2e5168015d32f890ca1581 `
-Name john.doe `
-NativeIdentity CN=John Doe,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com `
-Uuid b7264868-7201-415f-9118-b581d431c688 `
-Correlated true `
-IsMachine false `
-Origin Active Directory `
-Attributes {"firstname":"John","lastname":"Doe"}
  • Convert the resource to JSON
$Accountv2 | ConvertTo-JSON

[Back to top]