Skip to content

PermissionServiceOptions.SuperAdmins property

The usernames of the super admins, who have every permission and are the only ones who can impersonate other users, compared ignoring case, e.g. "admin, ops", separated by commas, semicolons or white space (see SettingsList). When not set, DefaultSuperAdmins; an empty text means no super admin. It is a text rather than an array, as a settings file or an environment variable replaces a text as a whole, where the items of an array would be merged by their index.

public string? SuperAdmins { get; set; }

See Also