Ifd:getContextOwners

API version 2
Function public IfdUser [] getContextOwners (String context_guid, String session_id ) throws IfdServerException

Express heading QUERY_FUNCTION getContextOwners( context_guid : STRING ) : LIST OF IfdUser;

''Function to add get all owners that can add owners and users to a context. This function requires read access.''

Input:
 * string context_guid - the GUID of the context where the users are owners.
 * session_id - the session id for the current user

Return:
 * IfdUser [] - An array containing the list of all owners for the given context.

API version 3
Function public IfdUser [] getContextOwners (String session_id, String context_guid) throws IfdServerException

EXPRESS heading QUERY_FUNCTION getContextOwners(                       context_guid : STRING):  LIST OF IfdUser;

The function returns list of IFD users - owners 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 – owners of the specified context (see getUsers and addUsers)

Difference with v.2.00
 * (87)	In v.2.00 the function did not check if the context is restricted for the logged user

Comments: