-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUserDetails.cs
35 lines (31 loc) · 1.34 KB
/
UserDetails.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using Geotab.Checkmate.ObjectModel;
namespace Geotab.CustomerOnboardngStarterKit
{
class UserDetails
{
/// <summary>
/// A <c>|</c>-separated list of company <see cref="Group"/> names to which the <see cref="User"/> belongs.
/// </summary>
public readonly string CompanyGroupNames;
/// <summary>
/// The name of the security <see cref="Group"/> to which the <see cref="User"/> belongs.
/// </summary>
public readonly string SecurityGroupName;
/// <summary>
/// The <see cref="User"/>.
/// </summary>
public readonly User User;
/// <summary>
/// Initializes a new instance of the <see cref="UserDetails"/> class.
/// </summary>
/// <param name="user">The <see cref="User"/>.</param>
/// <param name="companyGroupNames">A <c>|</c>-separated list of company <see cref="Group"/> names to which the <see cref="User"/> belongs.</param>
/// <param name="securityGroupName">The name of the security <see cref="Group"/> to which the <see cref="User"/> belongs.</param>
public UserDetails(User user, string companyGroupNames, string securityGroupName)
{
User = user;
CompanyGroupNames = companyGroupNames;
SecurityGroupName = securityGroupName;
}
}
}