05-26-2011 08:17 AM
How do you get a list of users from the current database? I have seen reference to this code:
Dim theUsers As Users() = ActApp.ActFramework.Users.GetUsers()
But is does not seem to work for Act! 2010
05-26-2011 09:01 AM
That method requires a parameter, GetUses(Feature feature), if you don't want to supply the feature that user is a manager of I think you can use null. Also you could get all the active users like so:
User[] users = ActApp.ActFramework.Users.ActiveUsers;
05-26-2011 06:00 PM