Autodesk Vault ProfessionalVault API

GetRolesByUserId Method

Autodesk.Connectivity.WebServicesAdminService

Gets the roles for a user.

Required Permissions

AdminUserRead

Syntax

public Role[] GetRolesByUserId(
   System.long userId
)
Public Function GetRolesByUserId( _
   ByVal userId As System.Long _
) As Role()

Parameters

NameDescription
userIdThe ID of the user.

Return Value

An array listing the roles the user has.

See Also