Aufgrund einer Wartung wird GitLab am 26.10. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 26.10. between 8:00 and 9:00 am.

UserObject.cs 707 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
using Coscine.ApiCommons.ReturnObjects;
using System;

namespace Coscine.Api.Project.ReturnObjects
{
    [Serializable]
    public class UserObject : IReturnObject
    {
        public Guid Id { get; set; }

        public string DisplayName { get; set; }
12
13
14
15
16

        public string Givenname { get; set; }

        public string Surname { get; set; }

17
        public string EmailAddress { get; set; }
18

19
        public UserObject(Guid id, string displayName, string givenname, string surname, string emailAddress)
20
21
22
        {
            Id = id;
            DisplayName = displayName;
23
24
            Givenname = givenname;
            Surname = surname;
25
            EmailAddress = emailAddress;
26
27
28
        }
    }
}