Hi guys,
any suggestions about the following: I want to change automatically the current active user (if some conditions aplly). Is it correct to user setUserId? That is what I am trying but just noticed the UserName on my running UI remains the same.
Thanks in advance.
Antonio
Change User without call the login Panel
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: Change User without call the login Panel
The correct sequence is :
// Change user
setUserId( uUser, strWachtwoord );
// Set user name so that you see it in the title
dpSet( "_Ui_" + myManNum() + ".UserName", strGebruiker );
share the fun
Frenk Mulder
// Change user
setUserId( uUser, strWachtwoord );
// Set user name so that you see it in the title
dpSet( "_Ui_" + myManNum() + ".UserName", strGebruiker );
share the fun
Frenk Mulder