Implementierung des Imports von Benutzern und Gruppen aus Active Directory im Angular-Frontend.

This commit is contained in:
Developer 02
2024-03-11 15:31:36 +01:00
parent df9bc33795
commit 2e26342be6
292 changed files with 599 additions and 221 deletions

View File

@@ -1,17 +1,18 @@
namespace DigitalData.UserManager.Application.DTOs.User
{
public record UserCreateDto(
string Prename,
string? Name,
string? Username,
string? Shortname,
string? Email,
string? Language,
string? Comment,
bool? Deleted,
string? DateFormat,
string? AddedWho,
string? ChangedWho,
bool Active
);
public record class UserCreateDto
{
public string? Prename { get; init; }
public string? Name { get; init; }
public string? Username { get; init; }
public string? Shortname { get; init; }
public string? Email { get; init; }
public string Language { get; init; } = "de-DE";
public string? Comment { get; init; }
public bool? Deleted { get; init; }
public string DateFormat { get; init; } = "dd.MM.yyyy";
public string AddedWho { get; init; } = "DEFAULT";
public string? ChangedWho { get; init; }
public bool Active { get; init; } = true;
}
}

View File

@@ -2,31 +2,33 @@
{
public record UserPrincipalDto
(
Guid Guid,
string SId,
string EmployeeId,
string SamAccountName,
string GivenName,
string MiddleName,
string? MiddleName,
string Surname,
string EmailAddress,
string VoiceTelephoneNumber,
DateTime? AccountExpirationDate,
DateTime? AccountLockoutTime,
bool AllowReversiblePasswordEncryption,
int BadLogonCount,
bool DelegationPermitted,
bool? Enabled,
string HomeDirectory,
string HomeDrive,
DateTime? LastBadPasswordAttempt,
DateTime? LastLogon,
DateTime? LastPasswordSet,
bool PasswordNeverExpires,
bool PasswordNotRequired,
byte[] PermittedLogonTimes,
bool SmartcardLogonRequired,
bool UserCannotChangePassword
string? AddedWho,
string? DateFormat
// Guid Guid,
// string SId,
// string EmployeeId,
// string VoiceTelephoneNumber,
// DateTime? AccountExpirationDate,
// DateTime? AccountLockoutTime,
// bool AllowReversiblePasswordEncryption,
// int BadLogonCount,
// bool DelegationPermitted,
// bool? Enabled,
// string HomeDirectory,
// string HomeDrive,
// DateTime? LastBadPasswordAttempt,
// DateTime? LastLogon,
// DateTime? LastPasswordSet,
// bool PasswordNeverExpires,
// bool PasswordNotRequired,
// byte[] PermittedLogonTimes,
// bool SmartcardLogonRequired,
// bool UserCannotChangePassword
);
}