UFN_SYSTEMROLE_GETFORMLIST

Returns a table of IDs for all of the dataform instances that have been assigned to the given SYSTEMROLEID

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@SYSTEMROLEID uniqueidentifier IN

Definition

Copy


CREATE FUNCTION dbo.UFN_SYSTEMROLE_GETFORMLIST(@SYSTEMROLEID uniqueidentifier)
/*
Returns a table of IDs for all of the data form instance that have been assigned to the given SYSTEMROLEID
*/
returns table
as
return 
(

select SRP.ID, SRP.DATAFORMINSTANCECATALOGID,
SRP.GRANTORDENY

from 
SYSTEMROLEPERM_DATAFORMINSTANCE as SRP

where SRP.SYSTEMROLEID=@SYSTEMROLEID


);