I get the following in the watch window when trying to determine the UserProviderKey
Session("loggedinusername") shows the UserName of the logged in user
Because this evaluation could cause side effects, it will not be executed until enabled by user.
Session("loggedinusername") = Membership.GetUser().UserName
Dim User As MembershipUser = Membership.GetUser()
Dim UserKey As GUID = User.ProviderUserKey
...
Go to the complete details ...