Skip to main content

Roleassignmentref

Properties

NameTypeDescriptionNotes
IdStringAssignment Id[optional]
RoleBasereferencedto[optional]
AddedDateSystem.DateTimeDate that the assignment was added[optional]
StartDateSystem.DateTimeDate when assignment will be active, if requested with a future date. If null, assignment is active immediately[optional]
RemoveDateSystem.DateTimeDate that the assignment will be removed[optional]

Examples

  • Prepare the resource
$Roleassignmentref = Initialize-Roleassignmentref  -Id 1cbb0705b38c4226b1334eadd8874086 `
-Role null `
-AddedDate 2025-07-11T18:45:37.098Z `
-StartDate 2026-01-22T19:15Z `
-RemoveDate 2026-01-23T19:15Z
  • Convert the resource to JSON
$Roleassignmentref | ConvertTo-JSON

[Back to top]