Checking user name and password
[C#]
using CMS.SiteProvider;
// UserInfo UserInfo user = null;
user = CMS.SiteProvider.UserInfoProvider.AuthenticateUser("Alice", "******", CMS.CMSHelper.CMSContext.CurrentSiteName);
if (user != null) { // Authentication was successful } |
Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?authenticating_user.htm