Constructor UserRecordCandidate
- Namespace
- MailFathom.Infrastructure.Persistence.Users
- Assembly
- MailFathom.Infrastructure.dll
UserRecordCandidate(string, UserEndpointAccess)
The record one write commits, and the endpoint switches its user is served on under the policies in force.
public UserRecordCandidate(string Json, UserEndpointAccess EndpointAccess)
Parameters
JsonstringThe user's own record, as the JSON object the row will hold: only what somebody stated on it, never a value a policy forces.
EndpointAccessUserEndpointAccessThe switches the record resolves to through the policies governing it, which the row carries for whatever authenticates a request.