G
Guest
I need to get at the ProviderUserKey of the logged in user. I would have
thought that I could do something like:
Dim u As MembershipUser = Membership.GetUser
Dim ProvKey as Guid = CType(u.ProviderUserKey, Guid)
in the LoggedIn event handler.
But the Membership.GetUser returns "Nothing"
For me this would be the ideal place because I need to use the
ProviderUserKey to look up some additional info in a different database. If
this cannot be done, where else can I do it? It would not be too efficient
to do it in the Page_Load of every page.
Jav
thought that I could do something like:
Dim u As MembershipUser = Membership.GetUser
Dim ProvKey as Guid = CType(u.ProviderUserKey, Guid)
in the LoggedIn event handler.
But the Membership.GetUser returns "Nothing"
For me this would be the ideal place because I need to use the
ProviderUserKey to look up some additional info in a different database. If
this cannot be done, where else can I do it? It would not be too efficient
to do it in the Page_Load of every page.
Jav