Ifd:removeContextOwner
From dev.ifd-library.org
API version 2
Function public IfdUser [] removeContextOwner ( String context_guid, String owner_guid, String session_id )
Express heading
QUERY_FUNCTION removeContextOwner(
context_guid : STRING ;
owner : IfdUser ) : LIST OF IfdUser;
Function to remove an owner from a context. This function requires read and write access and the user must be one of the owners of the context. You cannot remove the last owner from a context.
Input:
- string context_guid - the GUID of the context that the owners should be removed from.
- String owner - The global unique identifier of the owner to remove from the list of context owners. There will always have to be at least one owner for a context.
- session_id - the session id for the current user
Return:
- IfdUser [] - An array containing the updated list of all owners for the given context.
API version 3
Function public IfdUser [] removeContextOwner ( String session_id, String context_guid, String owner_guid)
Express Heading
QUERY_FUNCTION removeContextOwner(
context_guid : STRING;
owner_guid : STRING): LIST OF IfdUser;
The function removes an owner from specified context.
Input:
- session_id - the session id for the current user
- string context_guid - global unique id of the target IFD context;
- string owner - global unique id (login) of IFD user to be removed from context’s owners list
Return:
- IfdUser [] - List of the context owners after the remove (see description of attributes in getUsers).
Difference against v.2.00
- (118) The current version updates the context (date/time stamp). In v.2.00 the function did not do it
Comments: