In the previous tutorial, I have explained What is Ektron CMS? Now I will discuss the login server controls, logging in and out, and how to access an Ektron CMS400.NET website.
Ektron Login Server Control
The Login server control paints a login button on the template when displayed in a browser. When the Login server control is inserted and the project is built, the control displays the following buttons on a Web page.
Logging into an Ektron Web Site
To sign on to an Ektron CMS400.NET site, follow these steps.
Logging In:
- To log into your CMS, go to the login page at yourwebsiteaddress/cmslogin.aspx
The default location of your Ektron login page will be located at https://www.your-site-domain/cmslogin.aspx.

In the User and Pwd fields enter the default Username: admin and Password: Training.



Logging Out:
Click Logout from the context menu, or log out on the web page. The Logout confirmation box appears.
Note: If your site uses an active directory to authenticate users your login screen may require that you select the domain from a dropdown in the Login Box.
Login without password using Ektron API
Find the below source code to log in to Ektron cms without a password where you need to integrate with a third-party authentication application. For instance, if you need to do a custom integration with Active Directory.
Ektron.Cms.API.User.User userApi = new Ektron.Cms.API.User.User(); Ektron.Cms.UserData userObj = new Ektron.Cms.UserData(); userObj = userApi.LogInUser("jedit", "localhost", "", "", Ektron.Cms.Common.EkEnumeration.AutoAddUserTypes.Author); userApi.SetAuthenticationCookie(userObj);
References
Leave a Reply