UserMgrHasUserAccessRights (FUN)ΒΆ
FUNCTION UserMgrHasUserAccessRights : RTS_IEC_RESULT
Checks user access rights on the specified object (authorization)!
- InOut:
- Scope - Name - Type - Comment - Return - UserMgrHasUserAccessRights- RTS_IEC_RESULT- Error code
- ERR_OK: If user has the requested rights on the object or if no user management is configured 
- ERR_PARAMETER: If user is not available or the object does not exist 
- ERR_FAILED: If something failed retrieving the access rights 
- ERR_NO_ACCESS_RIGHTS: Explicitly denied rights 
- ERR_INVALID_HANDLE: hUser is invalid or unknown 
 
 - Input - pszObject- REFERENCE TO STRING - Full object name (see object tree) - hUser- RTS_IEC_HANDLE- Handle to the user - ulRequestedRights- DWORD- Requested rights on that object