SessionLoadCachedPreferences Method (String, String, String, String, Boolean) |
Load cached user preferences into this object.
When loading multiple levels of preferences, for example the traditional org hierarchy, country, company, user, say
the initial call to this function used to set the preferences to loaded. However, the subsequent levels of hierarchy to be loaded by this function
would then be marked as dirty because the collection was said to be loaded from the first call
So now we add a parameter to tell the collection when it IS actually loaded
This does put a little bit of onus on the end developer, writing session startup code, or preference handling to know when and not when to use this parameter
However, I don't think a single end user developer would even touch this stuff during the time that the session start up/preferences is first written
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public void LoadCachedPreferences(
string ownerID,
string ownerLevel,
string childID,
string childLevel,
bool markLoaded
)
Public Sub LoadCachedPreferences (
ownerID As String,
ownerLevel As String,
childID As String,
childLevel As String,
markLoaded As Boolean
)
Parameters
- ownerID
- Type: SystemString
The ID of the owner of the preference, e.g. a userID or companyID. - ownerLevel
- Type: SystemString
The level of the owner, for layered preferences, e.g. user, company. - childID
- Type: SystemString
The ID of a child object that inherits values from this ownerID (and level) - childLevel
- Type: SystemString
The level of the child, for layered preferences, e.g. user, company. - markLoaded
- Type: SystemBoolean
Specifies whether or not to mark the collection as loaded upon completion.
See Also