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/devguide/index.html?authenticating_user.htm