Click or drag to resize
AuthenticationHelperAuthenticateUser Method (String, Boolean, Boolean)
Authenticate given user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public static void AuthenticateUser(
	string userName,
	bool createPersistentCookie,
	bool loadCultures = true
)

Parameters

userName
Type: SystemString
User name
createPersistentCookie
Type: SystemBoolean
Indicates if persistent cookie should be created
loadCultures (Optional)
Type: SystemBoolean
If true, the preferred cultures of the user are loaded
See Also