on 11-19-2008 6:31 AM
Hi,
To get the currently logged in user's name, I use oCompany.Username property and get the name for some validation. but, when I don't exit from SAP B1 and change the user from 'Choose Company' window, that property still gives me the previously connected user's name. has anybody faced this issue before or I am doing something wrong?
thanks and regards,
Binita
You need to get the company change event from UI API (it is an Application level event) and then connect again to the company - most likely using single sign-on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.