Applies To: System Center 2016 - Service Provider Foundation, System Center Technical Preview
RunAsAccounts
Reads, creates, updates, and deletes Run As accounts for a specific Service Provider Foundation stamp.
HTTP Verbs
| GET | POST | PUT | DELETE | 
|---|---|---|---|
| Yes | Yes | Yes | Yes | 
GET
Reads all Run As accounts that are assigned to the specified stamp. Specify the ID property to retrieve a specific Run As account.
Entity Properties
| Name | Type | Mandatory | Description | 
|---|---|---|---|
| StampId | Edm.Guid | Yes | The identifier of the stamp to restrict the query to | 
| ID | Edm.Guid | No | The identifier of a Run As account | 
POST
Creates a new Run As account.
Entity Properties
| Name | Type | Mandatory | Description | 
|---|---|---|---|
| StampId | Edm.Guid | Yes | The identifier of the stamp to restrict the query to | 
| Name | Edm.String | Yes | The title of the Run As account | 
| UserName | Edm.String | Yes | The user name that the Run As account will use | 
| Password | Edm.String | Yes | The password that is associated with the UserNameproperty | 
| Owner | UserAndRole | No | The owner of this Run As account object | 
| Description | Edm.String | No | The description of the Run As account | 
| NoValidation | Edm.Boolean | Yes | Indicates that the Run As account will not validate the provided domain credentials. | 
PUT
Updates an existing Run As account.
Entity Properties
| Name | Type | Mandatory | Description | 
|---|---|---|---|
| StampId | Edm.Guid | Yes | The identifier of the stamp to restrict the query to | 
| ID | Edm.Guid | Yes | The identifier of the Run As account to update | 
| Name | Edm.String | No | The title of the Run As account | 
| UserName | Edm.String | No | The user name that the Run As account will use | 
| Password | Edm.String | No | The password that is associated with the UserNameproperty | 
| Owner | UserAndRole | No | The owner of this Run As account object | 
| GrantedToList | UserAndRole[] | Yes | The users or roles that are allowed to use this Run As account Collection may be empty. | 
| Description | Edm.String | No | The description of the Run As account | 
| NoValidation | Edm.Boolean | No | Indicates that the Run As account will not validate the provided domain credentials | 
DELETE
Deletes the specified Run As account.
Entity Properties
| Name | Type | Mandatory | Description | 
|---|---|---|---|
| StampId | Edm.Guid | Yes | The identifier of the stamp to restrict the query to | 
| ID | Edm.Guid | Yes | The identifier of the Run As account to delete |