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

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