AuthenticationHelper GetFormsAuthenticationUserName Method Kentico 8.1 API Reference
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.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

authCookie
Type: OnlineSystem String
Forms authentication cookie
siteName
Type: OnlineSystem String
Name of the site for which the banned IP is checked

Return Value

Type: OnlineString
See Also