AuthenticationHelper GetFormsAuthenticationUserName Method Kentico 8.0 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.0.5239.26125)

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