11-03-2011 11:36 AM
I have a vbscript that needs the current user's id. For the thick client, I have:
Set LobApplication = CreateObject("OnBase.Application")
Dim userName
userName = LobjApplication.UserName
That works just fine, but I need the same information from core services so that the vbscript is compatible with both thick and web clients.
Does anyone know what the core based equivalent is?
10-03-2012 03:30 PM
[quote user="LHerndon"]I know the core API is deprecated but here is the proper code.
Set objUser = objSession.User
username = objUser.Name
And I missed this post, somehow... Reading is hard!
Thanks LHerndon
10-03-2012 07:01 PM
Seth,
Here are the common User Properties available from the IOBXUser Class.
Dim UserSet User = session.UserDim UserIDUserID = User.IDDim UsernameUsername = User.NameDim DisplayNameDisplayName = User.DisplayName
10-04-2012 03:39 AM
Very helpful!!!! Thanks Lance!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.