How to GetProfile by custom properties?
<profile enabled="true" automaticSaveEnabled="false">
<properties>
<add name="InvitationCode" type="String"/>
</properties>
</profile>
How to get profiles with InvitationCode="foo"? Also can i make proper开发者_StackOverflow中文版ty unique?
Depending on if you have web site or web application it could be two ways.
for web site Profile.InvitationCode
and Profile.GetPropertyValue("InvitationCode")
for Web Application
精彩评论