Dear Dynamicweb,
What is best practise for getting specific users from the api when the methods GetUsersBySql and and GetUsers(CommandBuilder) are obsolete?
Best regards,
Anders
Dear Dynamicweb,
What is best practise for getting specific users from the api when the methods GetUsersBySql and and GetUsers(CommandBuilder) are obsolete?
Best regards,
Anders
Hi Anders,
We typically use the methods on this Dynamicweb.Security.UserManagement.User class.
Dear Kevin,
Thanks for quick answer here. The case is that we need users with a certain customnumber and a specific value in a custom field on the user.
And I cannot see how this is done by the current api?
Best regards,
Anders
You cannot - only by using the obsolete API - it will stick around until DW10 though...
For such scenarios we've used a User Repository with index, queries etc. if you don't need the user object themselves.
You must be logged in to post in the forum