A
Adam Right
Hi All,
I can find UserId of an Authenticated user over the ProviderUserKey of
MembershipUser , like that:
if(Page.User.Identity.IsAuthenticated)
{
MembershipUser usr = Membership.GetUser(Page.User.Identity.Name);
Label1.text = usr.ProviderUserKey.ToString();
}
But, is it possible to get the UserId of just created user in CreatedUser
event of CreateUserWizard ?
I need UserID to insert some extra information not supported by
CreateUserWizard and i have to insert them in CreatedUser event...
Any idea ?
Thanks....
Adam
I can find UserId of an Authenticated user over the ProviderUserKey of
MembershipUser , like that:
if(Page.User.Identity.IsAuthenticated)
{
MembershipUser usr = Membership.GetUser(Page.User.Identity.Name);
Label1.text = usr.ProviderUserKey.ToString();
}
But, is it possible to get the UserId of just created user in CreatedUser
event of CreateUserWizard ?
I need UserID to insert some extra information not supported by
CreateUserWizard and i have to insert them in CreatedUser event...
Any idea ?
Thanks....
Adam