I am modifying the existing javascript for the SelectRoles modal window, and I would like to add a piece of code to check if the current user has the "Is Administrator" checkbox checked. I need to find out who the current user is and if they have that setting checked.
We are moving towards domain administrators managing their own domain users, but we are not giving them the "Is Administrator" checkbox or the ability to use it. This would allow us to have a general rule on the way roles are assigned, but have select admins override those rules in fringe cases.