Autodesk Vault ProfessionalVault API

CheckRolePermissions Method

Autodesk.Connectivity.WebServicesNumberingService

Check if the current logged in user has permission to execute specific web service APIs.

Syntax

public System.bool[] CheckRolePermissions(
   System.string[] svcMethods,
   System.string entityClassId
)
Public Function CheckRolePermissions( _
   ByVal svcMethods() As System.String, _
   ByVal entityClassId As System.String _
) As System.Boolean()

Parameters

NameDescription
svcMethodsList of APIs by method name to test permissions of.
entityClassIdThe entity class ID of the entity type that the web service method permission is being checked for.

Return Value

Array indicating whether or not the current logged in user has permission to execute each specified API.

See Also