Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
努力寻找将 GUID 反转为用户名的最佳方法。
有什么帮助吗?
只要您使用SqlMembershipProvider, 使用
SqlMembershipProvider
var user = Membership.GetUser((object)yourGuid); var userName = user.UserName;