using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LdapLoginLib.Models { public class LdapUserInfo { /// /// The unique identifier for the user (mandatory). /// Example: "jdoe" /// public string? Uid { get; set; } /// /// Doc. Identidad /// The employee's unique identification number. /// Example: "E12345" /// public string? EmployeeNumber { get; set; } /// /// The common name of the user. /// Example: "John Doe" /// public string? Cn { get; set; } /// /// Nombres full /// The user's given name. /// Example: "John" /// public string? GivenName { get; set; } /// /// Apellidos /// The user's surname. /// Example: "Doe" /// public string? Sn { get; set; } /// /// The user's email address. /// Example: "jdoe@example.com" /// public string? Mail { get; set; } //TODO: /// /// The user's ALTERNATIVE email address. /// Example: "jdoe@example.com" /// public string? MailAlternateAddress { get; set; } /// /// The organization the user belongs to. /// Example: "Acme Inc.", currently "Sede" /// public string? O { get; set; } /// /// The status of the user's internet account. /// Example: "Active" /// public string? InetUserStatus { get; set; } /// /// The status of the user's account as boolean. /// Example: true or false /// public bool? IsActive { get; set; } = null; } /******************************************** * * * Discared / not in used * * * ******************************************** /// /// The user's password. /// Example: "P@ssw0rd" /// public string? UserPassword { get; set; } /// /// The type of employee (e.g., full-time, part-time). /// Example: "Full-Time", currently numbers /// //public string? EmployeeType { get; set; } /// /// The business category of the user. /// Example: "Sales" /// public string? BusinessCategory { get; set; } // Definidos por LDAP // No encontrado /// /// Numero unico identificacion personal /// //public string? NUIP { get; set; } = null; /// /// The license information for the user. /// Example: "Licensed for Software X, Y, and Z" /// public string? NsLicensedFor { get; set; } ******************************************** * * ********************************************/ }