Files
server/src/Core/Models/Data/OrganizationUserOrganizationDetails.cs

37 lines
1.4 KiB
C#
Raw Normal View History

2017-03-04 21:28:41 -05:00
using System;
namespace Bit.Core.Models.Data
{
2017-03-06 20:51:13 -05:00
public class OrganizationUserOrganizationDetails
2017-03-04 21:28:41 -05:00
{
2017-03-06 20:51:13 -05:00
public Guid OrganizationId { get; set; }
2017-03-04 21:28:41 -05:00
public Guid? UserId { get; set; }
public string Name { get; set; }
2020-01-15 15:17:32 -05:00
public bool UsePolicies { get; set; }
public bool UseSso { get; set; }
2017-05-08 14:22:40 -04:00
public bool UseGroups { get; set; }
2017-05-20 15:31:16 -04:00
public bool UseDirectory { get; set; }
2017-12-14 15:48:44 -05:00
public bool UseEvents { get; set; }
2017-07-07 14:08:30 -04:00
public bool UseTotp { get; set; }
2018-04-02 17:20:06 -04:00
public bool Use2fa { get; set; }
2019-03-02 15:09:33 -05:00
public bool UseApi{ get; set; }
public bool UseResetPassword { get; set; }
public bool UseBusinessPortal => UsePolicies || UseSso;
public bool SelfHost { get; set; }
public bool UsersGetPremium { get; set; }
2017-05-08 14:22:40 -04:00
public int Seats { get; set; }
public int MaxCollections { get; set; }
2017-07-07 14:08:30 -04:00
public short? MaxStorageGb { get; set; }
2017-03-06 20:51:13 -05:00
public string Key { get; set; }
2017-03-04 21:28:41 -05:00
public Enums.OrganizationUserStatusType Status { get; set; }
2017-03-25 16:34:30 -04:00
public Enums.OrganizationUserType Type { get; set; }
2017-04-11 15:57:13 -04:00
public bool Enabled { get; set; }
public string SsoExternalId { get; set; }
public string Identifier { get; set; }
public string Permissions { get; set; }
public string ResetPasswordKey { get; set; }
public string PublicKey { get; set; }
public string PrivateKey { get; set; }
2017-03-04 21:28:41 -05:00
}
}