Ver7.0.2 COM interface extension (NLS user name)

COM interface was extended with following functions.

ASGWorkSpace::UserName

Obtains the username used duing the login to Asprova NLS.

<<code example>>

Obtains the username and shows it in the message window.

Dim asWS As AsLib.ASGWorkspace
Dim asmsg As AsLib.ASOMessage
Dim asProj As AsLib.ASBProject
Set asProj = args.ArgAsObject(kArgProject)
Set asmsg = asProj.RootMessage
Set asWS = args.ArgAsObject(kArgWorkspace)
asmsg.AddMsg kSystemInfo, "Login username: " & asWS.UserName
asProj.BroadcastChanges