Procedura-GrantPrivilege

Popis:
Nastaví privilegium

Parametry:

NázevPopisDatový typ
IN_ClassIDChar(26)
IN_Role_IDChar(10)

Tělo:

BEGIN
  Select Count(Role_ID) from SecurityPrivilegeRights where Role_ID=:IN_Role_ID and ClassID=:IN_ClassID into mRoleCount;
  if (mRoleCount<1) then
    INSERT INTO SecurityPrivilegeRights (ClassID, Role_ID) VALUES (:IN_ClassID, :IN_Role_ID);
END;

Generated by ABRA Software a.s. 27.10.2021 16:34:15