1
0
mirror of https://github.com/bitwarden/server synced 2026-02-12 14:33:49 +00:00
Files
server/util/Seeder/Factories/CollectionUserSeeder.cs

24 lines
573 B
C#

using Bit.Core.Entities;
namespace Bit.Seeder.Factories;
internal static class CollectionUserSeeder
{
internal static CollectionUser Create(
Guid collectionId,
Guid organizationUserId,
bool readOnly = false,
bool hidePasswords = false,
bool manage = false)
{
return new CollectionUser
{
CollectionId = collectionId,
OrganizationUserId = organizationUserId,
ReadOnly = readOnly,
HidePasswords = hidePasswords,
Manage = manage
};
}
}