Skip to content
Prev Previous commit
Next Next commit
adding PrincipalType
  • Loading branch information
grlin committed Nov 5, 2018
commit 64560a0b516898db53f04a4b0cd74722d1c794e1
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,26 @@
"type": "string",
"description": "The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group."
},
"principalType": {
"type": "string",
"description": "The principal type of the assigned principal ID.",
"enum": [
"User",
"Group",
"ServicePrincipal",
"Unknown",
"DirectoryRoleTemplate",
"ForeignGroup",
"Application",
"MSI",
"DirectoryObjectOrGroup",
"Everyone"
],
"x-ms-enum": {
"name": "PrincipalType",
"modelAsString": true
}
},
"canDelegate": {
"type": "boolean",
"description": "The delgation flag used for creating a role assignment"
Expand Down