====== pears.NetOwnerSettingsGetRight ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create procedure "pears"."NetOwnerSettingsGetRight"( in "pWebUserID" char(20) )
result( "rightID" char(255),"description" long varchar )
// IQXWeb
begin
if not "IQXNetHasPermission"("pWebUserID",'APIDESIGN') = 0 then
select "IQXNetRightID" as "rightID","Description" as "description" from "IQXNetRight"
order by "SortOrder" asc
else
select '99:~Permission denied',''
end if
end
go
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."NetOwnerSettingsGetRight" IS
{create PROCEDURE pears."NetOwnerSettingsGetRight"( in "pWebUserID" char(20))
result( "rightID" char(255),"description" long varchar )
// IQXWeb
begin
if not "IQXNetHasPermission"("pWebUserID",'APIDESIGN') = 0 then
SELECT IQXNetRightID as rightID, Description as description from IQXNetRight
order by SortOrder
else
select '99:~Permission denied', '';
end if;
end
}