AuthenticationHelper AuthenticateUser Method (String, String, String, Boolean, )Kentico 8.0 API Reference
Authenticates user against the database.

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 to authenticate
password
Type: OnlineSystem String
Password to authenticate
siteName
Type: OnlineSystem String
Site name
login (Optional)
Type: OnlineSystem Boolean
Indicates if methods is called during user login
source (Optional)
Type: AuthenticationSourceEnum
Source of calling

Return Value

Type: UserInfo
See Also