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

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

Parameters

username
Type: SystemString
User name
isPersistent
Type: SystemBoolean
Persistency of cookie
timeOut
Type: SystemInt32
Cookie timeout
userData
Type: SystemString
Array of user data
See Also