CurrentUser.IsAdmin ?

delphi package - easy access to security apis
Post Reply
kgulol
Posts: 9
Joined: Sat Jan 07, 2012 5:42 pm

CurrentUser.IsAdmin ?

Post 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.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: CurrentUser.IsAdmin ?

Post 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.
Post Reply