mirror of
https://github.com/bitwarden/server.git
synced 2024-12-28 17:57:37 +01:00
Added user type to organization APIs
This commit is contained in:
parent
b144f8a686
commit
5b7c683c57
@ -12,11 +12,13 @@ namespace Bit.Core.Models.Api
|
||||
Name = organization.Name;
|
||||
Key = organization.Key;
|
||||
Status = organization.Status;
|
||||
Type = organization;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Key { get; set; }
|
||||
public OrganizationUserStatusType Status { get; set; }
|
||||
public OrganizationUserType Type { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -9,5 +9,6 @@ namespace Bit.Core.Models.Data
|
||||
public string Name { get; set; }
|
||||
public string Key { get; set; }
|
||||
public Enums.OrganizationUserStatusType Status { get; set; }
|
||||
public Enums.OrganizationUserType Type { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,8 @@ SELECT
|
||||
OU.[OrganizationId],
|
||||
O.[Name],
|
||||
OU.[Key],
|
||||
OU.[Status]
|
||||
OU.[Status],
|
||||
OU.[Type]
|
||||
FROM
|
||||
[dbo].[OrganizationUser] OU
|
||||
INNER JOIN
|
||||
|
Loading…
Reference in New Issue
Block a user