UserMgrObjectGetNextGroup (FUN)
FUNCTION UserMgrObjectGetNextGroup : RTS_IEC_HANDLE
Iteration interface to get the next group in the user rights management of the specified object. Must be started with UserMgrObjectGetFirstGroup()
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectGetNextGroupRTS_IEC_HANDLEHandle to the next group of the object in the user rights management or RTS_INVALID_HANDLE if failed
Input
hUserRTS_IEC_HANDLEHandle to authorized user
hObjectRTS_IEC_HANDLEHandle to the object
hPrevGroupRTS_IEC_HANDLEHandle to the previous group retrieved via UserMgrObjectGetFirstGroup() or subsequent calls of UserMgrObjectGetNextGroup()
Output
ResultRTS_IEC_RESULT- Error code
ERR_OK: Next group available
ERR_PARAMETER: Invalid handles
ERR_NO_OBJECT: No next group available
ERR_NO_ACCESS_RIGHTS: User not authorized