Click or drag to resize
AuthenticationHelper.SetAuthCookieWithUserData Method
Creates authentication cookie of user with specified custom data.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public static void SetAuthCookieWithUserData(
	string username,
	bool isPersistent,
	int timeOut,
	string[] userData
)

Parameters

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