Method HasRight
HasRight(PdmObjectId, PdmRight)
Tells whether the current user has a specific right on an object.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 11, 300, 80)]
bool HasRight(PdmObjectId inObjectId, PdmRight inRight)
Parameters
| Type | Name | Description |
|---|---|---|
| PdmObjectId | inObjectId | Identifier of project, folder or document. |
| PdmRight | inRight | Right. |
Returns
| Type | Description |
|---|---|
| bool | Has right. |