Autodesk Vault ProfessionalVault API

UpdateRole Method

Autodesk.Connectivity.WebServicesAdminService

Updates a user-defined role.

Required Permissions

ManageRoles

Syntax

public Role UpdateRole(
   System.long roleId,
   System.string roleName,
   System.string description,
   System.long[] permissionsArray
)
Public Function UpdateRole( _
   ByVal roleId As System.Long, _
   ByVal roleName As System.String, _
   ByVal description As System.String, _
   ByVal permissionsArray() As System.Long _
) As Role

Parameters

NameDescription
roleIdThe ID of the role.
roleNameThe new name.
descriptionThe new description.
permissionsArrayThe new permissions array.

Return Value

The updated Role object.

See Also