List Users
Lists users from the target system
Signature: listusers(cinfo, wantGroups, wantAttributes)
Parameters:
cinfo['listattributes'] - Collection of attributes to be listed
wantGroups - Boolean flag to indicate if memberships should be listed
wantAttributes - Boolean flag to indicate if attributes should be listed for users
Return Value:
ACSuccess 0
ACUnknownError 1
Remarks:
The agent.addAccount callback should be used to return the accounts listed during this operation. Refer to agent.addAccount callback for full details.
For listing attributes if wantAttributes is false, no attributes should be listed. If wantAttributes is true the attributes specified in cinfo['listattributes'] should be listed. If cinfo['listattributes'] is empty and wantAttributes is true all attributes should be listed.