Enrich AD users from SGU profile metadata
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace SGU.AuthBroker.Core.Profiles;
|
||||
|
||||
public sealed record InstitutionalProfile(
|
||||
string? EmployeeNumber = null,
|
||||
string? DisplayName = null,
|
||||
string? Email = null,
|
||||
string? EmployeeType = null,
|
||||
string? JobTitle = null,
|
||||
string? Department = null)
|
||||
{
|
||||
public bool HasValues =>
|
||||
EmployeeNumber is not null ||
|
||||
DisplayName is not null ||
|
||||
Email is not null ||
|
||||
EmployeeType is not null ||
|
||||
JobTitle is not null ||
|
||||
Department is not null;
|
||||
}
|
||||
Reference in New Issue
Block a user