2017-03-06 20:51:13 -05:00
|
|
|
|
CREATE VIEW [dbo].[OrganizationUserOrganizationDetailsView]
|
|
|
|
|
|
AS
|
|
|
|
|
|
SELECT
|
|
|
|
|
|
OU.[UserId],
|
|
|
|
|
|
OU.[OrganizationId],
|
|
|
|
|
|
O.[Name],
|
2017-04-11 10:19:19 -04:00
|
|
|
|
O.[Enabled],
|
2017-05-08 14:22:40 -04:00
|
|
|
|
O.[UseGroups],
|
2017-05-20 15:31:16 -04:00
|
|
|
|
O.[UseDirectory],
|
2017-07-07 14:08:30 -04:00
|
|
|
|
O.[UseTotp],
|
2017-11-06 16:01:58 -05:00
|
|
|
|
O.[SelfHost],
|
|
|
|
|
|
O.[UsersGetPremium],
|
2017-05-08 14:22:40 -04:00
|
|
|
|
O.[Seats],
|
|
|
|
|
|
O.[MaxCollections],
|
2017-07-07 14:08:30 -04:00
|
|
|
|
O.[MaxStorageGb],
|
2017-03-06 20:51:13 -05:00
|
|
|
|
OU.[Key],
|
2017-03-25 16:34:30 -04:00
|
|
|
|
OU.[Status],
|
|
|
|
|
|
OU.[Type]
|
2017-03-06 20:51:13 -05:00
|
|
|
|
FROM
|
|
|
|
|
|
[dbo].[OrganizationUser] OU
|
|
|
|
|
|
INNER JOIN
|
|
|
|
|
|
[dbo].[Organization] O ON O.[Id] = OU.[OrganizationId]
|