📜  会员资格获取用户 ID - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:04.246000             🧑  作者: Mango

代码示例1
MembershipUser mu = Membership.GetUser("username");
string userId = mu.ProviderUserKey.ToString();