The General Settings (settings that fall under the General heading in the Admin Console) that exist within the current configuration. Modifying the General property to change settings on a per-user basis can be used as an alternative or a supplement to Roles.
The settings are held in a General object, accessible through this property.
For definitions of all available settings, see the General class.
If the General property and an active Role modify the same setting, the Role will take precedence.
Api Api = new Api("/Exago/"); /* User authentication omitted */ if (Api.Parameters.UserId != "Admin") { // Disable some advanced funtionality for non-admin users Api.General.IsShowAdvancedJoins = false; Api.General.UseExecutionCache = false; Api.General.IsShowCrosstabReports = false; }