Re: SMAPI call to get USER DIRECT

2015-11-25 Thread Michael MacIsaac
Tomas, > The best I can remember is that for a user directory with somewhere between 100-200 entries the > Query_All_DM took 1-3 seconds. Thanks, that's good to hear that it can return in 1-3 seconds. I will investigate the smaclient side... -Mike On Wed, Nov 25, 2015 at 9:28 AM, Pavelka,

Re: SMAPI call to get USER DIRECT

2015-11-25 Thread Pavelka, Tomas
> Is this a known issue? I'm assuming it's SMAPI in the backend, not smaclient > on the front end causing the slowness. The best I can remember is that for a user directory with somewhere between 100-200 entries the Query_All_DM took 1-3 seconds. Most of the CPU was spent on the SMAPI side, b

Re: SMAPI call to get USER DIRECT

2015-11-25 Thread Michael MacIsaac
Tomas, > I have used it successfully with FORMAT=NO That did help, thanks. For smaclient, I wonder if there is an issue with the code requiring a -T flag, even though the API does not. I add a placeholder of '-T all', then add 'FORMAT=NO'. The good news is that I start to get the user director

Re: SMAPI call to get USER DIRECT

2015-11-25 Thread Pavelka, Tomas
I have used it successfully with FORMAT=NO. But this was in our proprietary SMAPI library so I can't share. But the call is not complicated, just put together function name, target and append FORMAT=NO. I am not familiar with smaclient, but if you get to understand how it assembles the SMAPI fun

SMAPI call to get USER DIRECT

2015-11-25 Thread Michael MacIsaac
Is there a way to get the entire user directory with SMAPI?I see the API Query_All_DM, but it does not seem to be working, at least with smaclient: # smaclient Query_All_DM Required option not specified ... # smaclient Query_All_DM -T all Additional parameters not specified Thanks.