Skip to main content

NonEmployeeRequestBody

Properties

NameTypeDescriptionNotes
AccountNameStringRequested identity account name.[required]
FirstNameStringNon-Employee's first name.[required]
LastNameStringNon-Employee's last name.[required]
EmailStringNon-Employee's email.[required]
PhoneStringNon-Employee's phone.[required]
ManagerStringThe account ID of a valid identity to serve as this non-employee's manager.[required]
SourceIdStringNon-Employee's source id.[required]
VarDatamap[string]StringAdditional attributes for a non-employee. Up to 10 custom attributes can be added.[optional]
StartDateSystem.DateTimeNon-Employee employment start date.[required]
EndDateSystem.DateTimeNon-Employee employment end date.[required]

Examples

  • Prepare the resource
$NonEmployeeRequestBody = Initialize-PSSailpoint.V2024NonEmployeeRequestBody  -AccountName william.smith `
-FirstName William `
-LastName Smith `
-Email william.smith@example.com `
-Phone 5125555555 `
-Manager jane.doe `
-SourceId 2c91808568c529c60168cca6f90c1313 `
-VarData {description=Auditing} `
-StartDate 2020-03-24T00:00-05:00 `
-EndDate 2021-03-25T00:00-05:00
  • Convert the resource to JSON
$NonEmployeeRequestBody | ConvertTo-JSON

[Back to top]