This question might have already been answered and if so I do apologize for reasking it.
I'm using DNN 3.2 and I'm building a seperate website, on the same server, for a ticket tracking system that we use for work. How can I capture the current users information, such as username and roles.
I've imported the DotNetNuke.DLL into my current project and have tried using the
with DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo
Dim X, Y as String
X = .UserName
end with
Label1.text = X
However, I'm not getting the information to show up in my label. Can anyone help with this question, I would greatly appreciate it.
Thanks