Accountv2
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | String | The unique identifier of the account. | [required] |
| Name | String | The name of the account. | [required] |
| NativeIdentity | String | The unique ID of the account generated by the source system. | [required] |
| Uuid | String | The unique ID associated with this account. | [required] |
| Correlated | Boolean | Indicates if the account is correlated to an identity. | [required] |
| IsMachine | Boolean | Indicates if the account is a machine account. | [required] |
| Origin | String | The origin of the account. | [required] |
| Attributes | [map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 | The 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