mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
18 lines
367 B
Transact-SQL
18 lines
367 B
Transact-SQL
CREATE PROCEDURE [dbo].[Collection_ReadWithGroupsByIdUserId]
|
|
@Id UNIQUEIDENTIFIER,
|
|
@UserId UNIQUEIDENTIFIER
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
EXEC [dbo].[Collection_ReadByIdUserId] @Id, @UserId
|
|
|
|
SELECT
|
|
[GroupId] [Id],
|
|
[ReadOnly],
|
|
[HidePasswords]
|
|
FROM
|
|
[dbo].[CollectionGroup]
|
|
WHERE
|
|
[CollectionId] = @Id
|
|
END |