mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 20:37:46 +00:00
adding powershell sdk docs back
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
---
|
||||
id: v2024-non-employee-request-body
|
||||
title: NonEmployeeRequestBody
|
||||
pagination_label: NonEmployeeRequestBody
|
||||
sidebar_label: NonEmployeeRequestBody
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'NonEmployeeRequestBody', 'V2024NonEmployeeRequestBody']
|
||||
slug: /tools/sdk/powershell/v2024/models/non-employee-request-body
|
||||
tags: ['SDK', 'Software Development Kit', 'NonEmployeeRequestBody', 'V2024NonEmployeeRequestBody']
|
||||
---
|
||||
|
||||
|
||||
# NonEmployeeRequestBody
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AccountName** | **String** | Requested identity account name. | [required]
|
||||
**FirstName** | **String** | Non-Employee's first name. | [required]
|
||||
**LastName** | **String** | Non-Employee's last name. | [required]
|
||||
**Email** | **String** | Non-Employee's email. | [required]
|
||||
**Phone** | **String** | Non-Employee's phone. | [required]
|
||||
**Manager** | **String** | The account ID of a valid identity to serve as this non-employee's manager. | [required]
|
||||
**SourceId** | **String** | Non-Employee's source id. | [required]
|
||||
**VarData** | Pointer to **map[string]String** | Additional attributes for a non-employee. Up to 10 custom attributes can be added. | [optional]
|
||||
**StartDate** | **System.DateTime** | Non-Employee employment start date. | [required]
|
||||
**EndDate** | **System.DateTime** | Non-Employee employment end date. | [required]
|
||||
|
||||
## Examples
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$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
|
||||
```powershell
|
||||
$NonEmployeeRequestBody | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user