AuthenticationHelperGetFormsAuthenticationUserName Method |
Note: This API is now obsolete.
Checks whether the supplied forms authentication cookie is valid. If the cookie is valid, returns name of the authenticated user. Otherwise returns null.
Contains check for BannedIPs Login level.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Method was not intended for public use and will be removed in the next version.")]
public static string GetFormsAuthenticationUserName(
string authCookie,
string siteName
)
Parameters
- authCookie
- Type: SystemString
Forms authentication cookie - siteName
- Type: SystemString
Name of the site for which the banned IP is checked
Return Value
Type:
StringSee Also