+9
Hi,
One way of doing this is to make sure the site is configured to run under Windows Authentication, open a connection to K2.net Server making use of K2ROM
The User Property of the Connection object will return the current logged on users name DomainUserName
One way of doing this is to make sure the site is configured to run under Windows Authentication, open a connection to K2.net Server making use of K2ROM
Dim oK2Connection As New K2ROM.Connection
oK2Connection.Open(k2Server)
response.write(oK2Connection.User)
The User Property of the Connection object will return the current logged on users name DomainUserName
+2
Hi,
If you want to see who is logged on to the current K2 ASP.Net page (site runs under Windows Authentication) you can also use:
Page.User.Identity.Name
This code will return the current logged on user's DomainUsername
T
If you want to see who is logged on to the current K2 ASP.Net page (site runs under Windows Authentication) you can also use:
Page.User.Identity.Name
This code will return the current logged on user's DomainUsername
T
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.