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

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

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