Hi all,
I tried to look into the Database as well as LDAP repository, but not able to get list of all users having portal console acces. Is there anyway to get this information?
Thanks, Sanjeev
There are a few things to consider here. What do you mean by console access? Server, Site or both? Do you use delegated administration?
If you don't use delegated administration, you can see all of your Server Administrators in the Server Console under Server Settings >> Server Administrators. You can see the Site Administrators by choosing the site from Sites >> Site List and going to the Administrators tab.
If you use delegated administration, you could use the console to see which groups have been granted the console access you're interested in.
One programmatic option would be to iterate through all users and check to see if they have the access you're looking for.
e.g.,
<%@ page import="com.epicentric.common.website.*,
com.epicentric.user.*"
%>
<%
UserManager um = UserManager.getInstance();
UserQueryResults users = um.getAllUsers();
while (users.hasNext()) {
User user = (User)users.next();
if (EndUserUtils.canUserAccessSystemConsole(user)) {
out.println(user.getProperty("username") + "<br />");
}