1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-23 12:18:51 -05:00
bitwarden/src/Sql/dbo/Stored Procedures/GroupUser_ReadGroupIdsByOrganizationUserId.sql
2017-05-09 19:04:01 -04:00

13 lines
269 B
Transact-SQL

CREATE PROCEDURE [dbo].[GroupUser_ReadGroupIdsByOrganizationUserId]
@OrganizationUserId UNIQUEIDENTIFIER
AS
BEGIN
SET NOCOUNT ON
SELECT
[GroupId]
FROM
[dbo].[GroupUser]
WHERE
[OrganizationUserId] = @OrganizationUserId
END