Ifd:getOrganizationMembers
From dev.ifd-library.org
API version 2
Function public IfdUser [] getOrganizationMembers (String organization_guid , String session_id ) throws IfdServerException
Express heading
QUERY_FUNCTION getOrganizationMembers( organization_guid : STRING ) : LIST OF IfdUser;
Function to get all users that are members of the given organization. This function requires administrator access.
Input:
- string organization_guid - the GUID of the organization 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 organization.
API version 3
Function public IfdUser [] getOrganizationMembers (String session_id , String organization_guid) throws IfdServerException
EXPRESS heading
QUERY_FUNCTION getOrganizationMembers(
organization_guid : STRING): LIST OF IfdUser;
The function returns list of IFD users – members of the specified organization.
Input:
- session_id - the session id for the current user.
- string organization_guid - global unique id of the required organization (could be get from getOrganizations or after numerical calls from IfdConcept.owner, IfdName.preferred_by, IfdDescription.preferred_by, IfdUser.member_of)
Return:
- IfdUser [] - List of fully specified IFD users – members of the specified organization (see attributes in getUsers and addUsers description)
Difference with v.2.00
- (97) In v.2.00 the function did not check if the context is restricted for the logged user
Comments: