CheckUserRightsByName

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
entitySetName Edm.String Name of the entity set for e.g.: Vehicles
operationName Edm.String Name of the operation. Can be any of the following: Read, Write, Delete, Create, 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) otherwise false.
Returns false if the entitySetName and/or operationName is misspelled.

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CheckUserRightsByName ?entitySetName='x' &operationName='x' &entityId=x