AuthenticationHelper SetAuthCookieWithUserData Method Kentico 8.1 API Reference
Creates authentication cookie of user with specified custom data.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

username
Type: OnlineSystem String
User name
isPersistent
Type: OnlineSystem Boolean
Persistency of cookie
timeOut
Type: OnlineSystem Int32
Cookie timeout
userData
Type:  OnlineSystem String 
Array of user data
See Also