Class UserPreferencesProvider
User (and system) preference settings, at all levels
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("UserPreferences", 1073741823)]
public class UserPreferencesProvider : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
Constructors
UserPreferencesProvider()
User (and system) preference settings, at all levels
Declaration
public UserPreferencesProvider()
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
Fields
ProviderName
User (and system) preference settings, at all levels
Declaration
public const string ProviderName = "UserPreferences"
Field Value
Type | Description |
---|---|
string |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
RowTypeDatabaseName
User (and system) preference settings, at all levels
Declaration
public const string RowTypeDatabaseName = "database"
Field Value
Type | Description |
---|---|
string |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
RowTypeDefaultName
User (and system) preference settings, at all levels
Declaration
public const string RowTypeDefaultName = "default"
Field Value
Type | Description |
---|---|
string |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
RowTypeGroupName
User (and system) preference settings, at all levels
Declaration
public const string RowTypeGroupName = "group"
Field Value
Type | Description |
---|---|
string |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
RowTypeSystemName
User (and system) preference settings, at all levels
Declaration
public const string RowTypeSystemName = "system"
Field Value
Type | Description |
---|---|
string |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
RowTypeUserName
User (and system) preference settings, at all levels
Declaration
public const string RowTypeUserName = "user"
Field Value
Type | Description |
---|---|
string |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
_colSectionKey
User (and system) preference settings, at all levels
Declaration
protected ArchiveColumnInfo _colSectionKey
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.
Methods
SetRestriction(ArchiveRestrictionInfo[])
Override: In addition to section and key restrictions, we also have a combined section|key restriction needed for the Admin preference GUI
Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
bool |
Overrides
Remarks
The SoPreference class will return the current setting for a preference for the current principal.
This archive provider is for administrative purposes, and returns all settings for the preference(s) selected.
Preferences have multiple sources: the userpreference table (UserPreferenceTableProvider, and various
Service settings that are mapped into preferences, retrieved by MappedPreferenceProvider.