CurrentUser.IsAdmin ?

delphi package - easy access to security apis

CurrentUser.IsAdmin ?

Postby kgulol » Thu Jan 26, 2012 8:35 pm

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.
kgulol
 
Posts: 9
Joined: Sat Jan 07, 2012 5:42 pm

Re: CurrentUser.IsAdmin ?

Postby madshi » Wed Feb 01, 2012 6:33 pm

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


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 2 guests