UFN_CLIENTROLE_TOTALUSERSCOUNT
Returns the total number of users in this role and its child roles
Return
Return Type |
---|
int |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@CLIENTROLEID | int | IN |
Definition
Copy
CREATE function dbo.UFN_CLIENTROLE_TOTALUSERSCOUNT(@CLIENTROLEID int)
returns int
with execute as caller
as begin
return (select dbo.fnGetClientRoleUserCount(@CLIENTROLEID))
end