UFN_SYSTEMROLE_GETTASKLIST
Returns a table of IDs for all of the tasks 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_GETTASKLIST(@SYSTEMROLEID uniqueidentifier)
/*
Returns a table of IDs for all of the tasks that have been assigned to the given SYSTEMROLEID
*/
returns table
as
return
(
select SYSTEMROLETASK.ID, SYSTEMROLETASK.TASKID, SYSTEMROLETASK.DISPLAYONHOMEPAGE
from dbo.SYSTEMROLETASK
where SYSTEMROLETASK.SYSTEMROLEID = @SYSTEMROLEID
)