UserMgrObjectGetGroupRights (FUN)

FUNCTION UserMgrObjectGetGroupRights : RTS_IEC_RESULT

Get the rights and the denied rights of a group on a specified object

InOut:

Scope

Name

Type

Comment

Return

UserMgrObjectGetGroupRights

RTS_IEC_RESULT

Error code
  • ERR_OK: Access rights could be retrieved

  • ERR_PARAMETER: Invalid handles

  • ERR_NO_ACCESS_RIGHTS: User not authorized

Input

hUser

RTS_IEC_HANDLE

Handle to authorized user

hObject

RTS_IEC_HANDLE

Handle to the object

hGroup

RTS_IEC_HANDLE

Handle to the group which access rights are requested

Output

ulRights

DWORD

Rights of the group. See category “User rights” for details

ulDeniedRights

DWORD

Denied rights of the group. See category “User rights” for details