Click or drag to resize

SessionLoadPreferences Method (String, String, Boolean)

Load 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 LoadPreferences(
	string ownerID,
	string level,
	bool markLoaded
)

Parameters

ownerID
Type: SystemString
The ID of the owner of the preference, e.g. a userID or companyID.
level
Type: SystemString
The level of the owner, for layered preferences, e.g. user, company.
markLoaded
Type: SystemBoolean
Specifies whether or not to mark the collection as loaded upon completion.
See Also