namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Management; public record AuthenticatedUser( string Username, string DisplayName, string[] Roles, string[] PermittedSiteIds); public record ManagementEnvelope(AuthenticatedUser User, object Command, string CorrelationId); public record ManagementSuccess(string CorrelationId, string JsonData); public record ManagementError(string CorrelationId, string Error, string ErrorCode); public record ManagementUnauthorized(string CorrelationId, string Message);