UserMgrObjectAddGroup (FUN)ΒΆ

FUNCTION UserMgrObjectAddGroup : RTS_IEC_RESULT

Add a group to the specified object to manage access rights

InOut:

Scope

Name

Type

Comment

Return

UserMgrObjectAddGroup

RTS_IEC_RESULT

Error code
  • ERR_OK: Group could be added or is already added

  • ERR_PARAMETER: Invalid handles

  • ERR_NOMEMORY: No memory to add group

  • 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 that should be attached