Page 1 of 1

CurrentUser.IsAdmin ?

Posted: Thu Jan 26, 2012 8:35 pm
by kgulol
hi,
looking for a function if current user is an administrator or a limited user
like this :
if madsecurity.CurrentUser.IsAdmin then

is it implemented ?am I missing ?

kind regards.

Re: CurrentUser.IsAdmin ?

Posted: Wed Feb 01, 2012 6:33 pm
by madshi
Probably you want to check whether a specific user is in the Admin group? madSecurity does not support any group specific APIs at the moment, unfortunately. So no, you can't do this with the current madSecurity version.