You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
358 B
16 lines
358 B
CREATE OR ALTER PROCEDURE [dbo].[OrganizationUser_ReadManyDetailsByRole] |
|
@OrganizationId UNIQUEIDENTIFIER, |
|
@Role TINYINT |
|
AS |
|
BEGIN |
|
SET NOCOUNT ON |
|
|
|
SELECT |
|
* |
|
FROM |
|
[dbo].[OrganizationUserUserDetailsView] |
|
WHERE |
|
OrganizationId = @OrganizationId |
|
AND Status = 2 -- 2 = Confirmed |
|
AND [Type] = @Role |
|
END
|
|
|