Getting current profile user is in

Discussions related to order tracking development with the ProForm module.

Moderator: Phil Barton

Post Reply
danny.little
Posts: 21
Joined: Fri May 14, 2010 10:18 am

Getting current profile user is in

Post by danny.little »

I know there is a way and it is probably very simple, but I cannot seem to find it. Is there way to get the current profile the user is in similar to the functionality of the GetActiveOrder() function in your examples. I want the profile in the bottom right hand corner of SoftPro screen. Hope that makes sense.
Thanks
Danny Little
Mark McKenna

Re: Getting current profile user is in

Post by Mark McKenna »

Hi Danny,

If you're using, at minimum, Select version 2.6, the following profile API functionality is available. Also check out the ProfileManagement features in the Select SDK Help file.

Code: Select all

SelectServer sps = GetService<SelectServer>();
IProfile profile = sps.CurrentProfile;
Post Reply