UFN_SYSTEMROLE_GETDATALISTLIST
Returns a table of IDs for all of the DataLists 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_GETDATALISTLIST(@SYSTEMROLEID uniqueidentifier)
/*
Returns a table of IDs for all of the Datalists that have been assigned to the given SYSTEMROLEID
*/
returns table
as
return
(
select SRP.ID, SRP.DATALISTCATALOGID,
SRP.GRANTORDENY
from
SYSTEMROLEPERM_DATALIST as SRP
where SRP.SYSTEMROLEID=@SYSTEMROLEID
)