Author: sg48asp | Posted on: 5/3/2010 9:44:58 AM | Views : 869

 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 ...