Last active
December 29, 2015 17:49
-
-
Save PaulSorensen/7706771 to your computer and use it in GitHub Desktop.
Check if a member exist in Umbraco
egeek.dk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var userName = "myUserName"; | |
var memberExist = false; | |
if(Membership.GetUser(userName) != null) | |
{ | |
memberExist = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment