UserMgrUserAddInfoToUser (FUN)

FUNCTION UserMgrUserAddInfoToUser : RTS_IEC_RESULT

Adds an value to an logged in user. This can be used as some kind of cache that exists as long as the user is logged in.

InOut:

Scope

Name

Type

Comment

Return

UserMgrUserAddInfoToUser

RTS_IEC_RESULT

ERR_OK: Value cached; ERR_DUPLICATE: The same key has been used already; ERR_FAILED: The caching failed

Input

hUser

RTS_IEC_HANDLE

Handle to authorized user

key

__XWORD

Access key for the cache value. This has to be used at UserMgrGetInfoOfUser to access the value.

value

UserMgrCacheValue

Value to cache at the user.