CheckRolePermissions Method
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
| Name | Description |
|---|---|
| svcMethods | List of APIs by method name to test permission of |
| entityClassId | The 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