UserRoles

System Center
 

Updated: June 27, 2017

Applies To: System Center 2016 - Service Provider Foundation, System Center Technical Preview

Reads, creates, updates, or deletes user roles in Virtual Machine Manager (VMM).

GETPOSTPUTDELETE
YesYesYesYes

GET

Reads the specified user role or all user roles that are associated with a profile.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidNoThe identifier of the user role
UserRoleProfileEdm.StringNoThe name of a user role to filter on

POST

Creates a new user role with the specified rights.

Entity Properties

NameTypeMandatoryDescription
NameEdm.StringYesThe name of the user role
UserRoleProfileEdm.StringYesThe user role profile that this user role will belong to
DescriptionEdm.StringNoA description of the user role

PUT

Updates an existing user role with new memberships, resources, scope, and quota points.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidYesThe identifier of the user role to update
NameEdm.StringNoThe name of the user role
DescriptionEdm.StringNoThe description of the user role
UserRoleDataPathUserRoleDataPath[]YesLibrary share paths that the user role can use to upload their data to.

 Collection may be empty.
PermissionInputUserRolePermission[]YesPermissions that are associated with this user role.

 Collection may be empty.
AddMemberEdm.String[]YesIdentifiers of each member that will be added to this user role.

 Collection may be empty.
RemoveMemberEdm.String[]YesIdentifiers of each member that will be removed from this user role.

 Collection may be empty.
AddResourceUserRoleResource[]YesResources that will be added to this user role.

 Collection may be empty.
RemoveResourceUserRoleResourcep[]YesResources that will be removed from this user role.

 Collection may be empty.
AddScopeUserRoleScope[]YesAdds the specified scopes to the user role.

 Collection may be empty.
RemoveScopeUserRoleScope[]YesRemoves the identified scopes from this user role.

 Collection may be empty.
VMNetworkQuotaVMNetworkQuota[]YesSpecifies the quotas to be associated with this user role.

 Collection may be empty.

DELETE

Deletes the specified user role.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidYesThe identifier of the user role to delete

VMM Collections Reference

Show: