AuthenticationHelperAuthenticateUser Method (String, Boolean, Boolean) |
Authenticate given user.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntaxpublic 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