mirror of
https://github.com/bitwarden/server
synced 2026-01-21 03:43:53 +00:00
org user details apis
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
CREATE VIEW [dbo].[OrganizationUserOrganizationDetailsView]
|
||||
AS
|
||||
SELECT
|
||||
OU.[UserId],
|
||||
OU.[OrganizationId],
|
||||
O.[Name],
|
||||
OU.[Key],
|
||||
OU.[Status]
|
||||
FROM
|
||||
[dbo].[OrganizationUser] OU
|
||||
INNER JOIN
|
||||
[dbo].[Organization] O ON O.[Id] = OU.[OrganizationId]
|
||||
@@ -1,4 +1,4 @@
|
||||
CREATE VIEW [dbo].[OrganizationUserDetailsView]
|
||||
CREATE VIEW [dbo].[OrganizationUserUserDetailsView]
|
||||
AS
|
||||
SELECT
|
||||
OU.[Id],
|
||||
@@ -11,4 +11,4 @@ SELECT
|
||||
FROM
|
||||
[dbo].[OrganizationUser] OU
|
||||
LEFT JOIN
|
||||
[dbo].[User] U ON U.Id = OU.UserId
|
||||
[dbo].[User] U ON U.[Id] = OU.[UserId]
|
||||
Reference in New Issue
Block a user