1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

get subvaults for organization user

This commit is contained in:
Kyle Spearrin
2017-03-11 15:34:57 -05:00
parent 732e0d8984
commit 4a9206b992
5 changed files with 35 additions and 6 deletions

View File

@ -10,4 +10,13 @@ BEGIN
[dbo].[OrganizationUserUserDetailsView]
WHERE
[Id] = @Id
SELECT
S.*
FROM
[dbo].[SubvaultView] S
INNER JOIN
[dbo].[SubvaultUser] SU ON SU.[SubvaultId] = S.[Id]
WHERE
SU.[OrganizationUserId] = @Id
END