Since sourcebans just adds flags and immunity from their database into sourcemod you could use
Single admins:
PHP Code:
GetAdminImmunityLevel(AdminId:id);
For groups if you use that:
PHP Code:
GetAdmGroupImmunityLevel(GroupId:gid);
To get the admins immunity
__________________