Please consider the code below:
请考虑以下代码:
if (Request.IsAuthenticated == true)
{
string id = Membership.GetUser().ProviderUserKey;
}
ifPlease consider the code below:
请考虑以下代码:
if (Request.IsAuthenticated == true)
{
string id = Membership.GetUser().ProviderUserKey;
}
if