Autodesk Vault ProfessionalVault API

AddRole Method

Autodesk.Connectivity.WebServicesAdminService

Creates a new user-defined role.

Required Permissions

ManageRoles

Syntax

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

Parameters

NameDescription
roleNameThe name of the role.
descriptionThe description of the role.
permissionsArrayAn array of permissions of the role.

Return Value

The newly created role.

See Also