UFN_CMSROLEREFRESH_LOOKAHEAD
Returns whether there are query-based roles in the system to be refreshed.
Return
Return Type |
---|
bit |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@BUSINESSPROCESSPARAMETERSETID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_CMSROLEREFRESH_LOOKAHEAD
(
@BUSINESSPROCESSPARAMETERSETID uniqueidentifier = null
)
returns bit
as begin
declare @RUN as bit = 0;
select top 1 @RUN = 1 from ClientRoles CR where CR.Deleted = 0 and CR.REQueryID > 0;
return @RUN;
end