FUNCTION UserMgrGroupGetNextUser : RTS_IEC_RESULT
Iteration interface to get next configured user of the user group. Must be started with UserMgrGroupGetFirstUser()
InOut:
|
Scope
|
Name
|
Type
|
Comment
|
Return
|
UserMgrGroupGetNextUser
|
RTS_IEC_RESULT
|
Error code
|
-
ERR_OK: Next user available
-
ERR_NO_OBJECT: No next user available
-
ERR_PARAMETER: Invalid iterator handle
-
ERR_NO_ACCESS_RIGHTS: User not authorized
|
|
Input
|
hUser
|
RTS_IEC_HANDLE
|
Handle to authorized user
|
hGroup
|
RTS_IEC_HANDLE
|
Group handle
|
Inout
|
phIterator
|
RTS_IEC_HANDLE
|
Iteration handle to use with next call to UserMgrGroupGetNextUser()
|
pszUsername
|
STRING(59)
|
Buffer to store the name, 59 chars max
|
|