Hi there,
I've used the following VB to determine if the current user is in an admin role:
<% If Not PortalSecurity.IsInRoles(PortalController.GetCurrentPortalSettings.AdministratorRoleName) Then %>
however i was wondering I could do the same with JavaScript on the client?
Thanks
|