string appName = Membership.ApplicationName;
References: http://msdn.microsoft.com/en-us/library/system.web.security.membership.applicationname(VS.80).aspx
Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.
string appName = Membership.ApplicationName;
Reference: This is from http://aspnet.4guysfromrolla.com/articles/110106-1.aspx
[Browsable (true)]
public string Value
{
get
{
MembershipUser currentUser;
currentUser = Membership.GetUser();
if (currentUser == null)
return string.Empty;
return currentUser.ProviderUserKey.ToString();
}
}