In the LOGON IIP, I set the "UserProfileToCheck" to a known user with the proper authorities. I need to get that profile back in another component.
I store that profile in the Persistent_ApplicationString1 so I could go to the server and have it send it back down, but it seems like I should be able to get it from the framework itself on the client.
This post http://vlforum.lansa.com.au/viewtopic.p ... 150&p=1929 seems to show that it can be done, but those ideas always return the user name that was entered, not the UserProfileToCheck.
For example in the Logon IIP I set the UserProfileToCheck to ADMIN_USR
Code: Select all
mthroutine name(CheckUserCredentials) options(*REDEFINE *RETURNS_MESSAGES)
#UserProfiletoCheck := ADMIN_USR
endroutine
Code: Select all
#STD_STRNG := #avFrameworkManager.avLoggedOnUser
#STD_STRNG := #uSystem.FrameworkLoggedOnVisibleUserProfile
#STD_STRNG := #uSystem.FrameworkPlatformU