namespace ZB.MOM.WW.OtOpcUa.Admin.Security;

/// <summary>Outcome of an LDAP bind attempt. <see cref="Roles"/> is the mapped-set of Admin roles.</summary>
public sealed record LdapAuthResult(
    bool Success,
    string? DisplayName,
    string? Username,
    IReadOnlyList<string> Groups,
    IReadOnlyList<string> Roles,
    string? Error);
