Class ScimEnterpriseUser

Assembly: redb.Identity.Contracts.dll

SCIM 2.0 Enterprise User extension (RFC 7643 §4.3).

This is the extension corporate provisioning actually sends. Okta, Entra ID and Workday all
push department, manager and employeeNumber on the very first sync — a
provider that advertises only the core User schema forces them to drop that data on the floor.


It travels as a namespaced member of the User resource, keyed by its schema URN rather than a
plain attribute name, and the URN must also appear in the resource's schemas array —
that is what tells the client the extension is present rather than merely permitted.

public class ScimEnterpriseUser

Inheritance

Object→ScimEnterpriseUser

Properties

CostCenter

Cost centre the user is booked against.

[JsonPropertyName("costCenter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? CostCenter { get; set; }

Department

Name of the department.

[JsonPropertyName("department")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Department { get; set; }

Division

Name of the division.

[JsonPropertyName("division")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Division { get; set; }

EmployeeNumber

Numeric or alphanumeric identifier assigned by the organisation (RFC 7643 §4.3).

[JsonPropertyName("employeeNumber")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? EmployeeNumber { get; set; }

IsEmpty

True when nothing is populated — used to decide whether to emit the member at all.

[JsonIgnore]
public bool IsEmpty { get; }

Manager

The user's manager (RFC 7643 §4.3 — a complex attribute, not a bare string).

[JsonPropertyName("manager")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ScimManager? Manager { get; set; }

Organization

Name of the organisation.

[JsonPropertyName("organization")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Organization { get; set; }