Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Listing all the users
rajasekhar
Hello,
My task requires populating a list box with all the users present in the database. I am writing in csharp using imanage.dll.
How ever the following code returns incomplete results.
......
IManage.IManUsers usrs= imdbtemp.SearchUsersEx("%",IManage.imSearchAttributeType.imSearchBoth,true,IManage.imNOSType.imAllNOS);
.....
any pointers please.
Many thanks
Raja
Find more posts tagged with
Comments
jny
Try setting your IManSession.MaxRowsForSearch to a greater number; the default is 512. Like so:
// Assuming oSess is a connected IManSession Object.
oSess.MaxRowsForSearch = 1500; 'Default is 512.
Also, the overflow flag should return True if there are more items to return.
RajanP
It doesnt work in my case. I tried to set that parameter before as well as after the login. Both methods didnt work.
What is the other procedure to get the documents more than 512?
-Rajan
jny
That's strange. That is the property for safeguarding the number of rows to return from a search.
Are you searching for users or documents? Would you show me your code?