Ifd:getContextUsers
From dev.ifd-library.org
API version 2
Function public IfdUser [] getContextUsers (String context_guid , String session_id ) throws IfdServerException
Express heading
QUERY_FUNCTION getContextUsers( context_guid : STRING ) : LIST OF IfdUser;
Function to add get all users that have read access to a context. This function requires read access.
Input:
- string context_guid - the GUID of the context we want to list the users for.
- session_id - the session id for the current user.
Return:
- IfdUser [] - An array containing the list of all users for the given context.
API version 3
Function public IfdUser [] getContextUsers (String session_id, String context_guid ) throws IfdServerException
EXPRESS heading
QUERY_FUNCTION getContextUsers(
context_guid : STRING): LIST OF IfdUser;
The function returns list of IFD users - users for specified context.
Input:
- session_id - the session id for the current user.
- string context_guid - global unique id of the required context (could be get from getAllContexts or getContexts)
Return:
- IfdUser [] - List of fully specified IFD users – users of the specified context (see attributes in getUsers and addUsers description)
Difference with v.2.00
- (90) In v.2.00 the function did not check if the context is restricted for the logged user
Comments: