CheckUserRights

Container: CCPService
Namespace: System.Data.Objects

Summary

Checks the user rights.

Method

The HTTP method for this function import is GET

Parameters

Name Type Summary
entitySetId* Edm.Int32 Name of the entity set for e.g.: 22 = Vehicles
operation* Edm.Int32 Name of the operation. Can be any of the following: 1 = Read, 2 = Write, 4 = Delete, 8 = Create, 16 = FullAccess
entityId* Edm.Int32 Optional entity id of the entity to check the rights on.
Parameters marked with a * are required

Return

Type: Edm.Boolean
Is collection: false
Summary: true if the user has the right to perform the operation on the entity(set)

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CheckUserRights ?entitySetId=x &operation=x &entityId=x