Click or drag to resize

SystemSettingServicesGetPersonalSetting Method

Returns the personalized value of a system setting for a particular user account.

Namespace:  FactoryLogix.xTend.Configuration
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Object GetPersonalSetting(
	Guid sessionId,
	SystemSettings setting,
	string userName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
setting
Type: FactoryLogix.xTend.DataObjectsSystemSettings
An enumerated value specifying the system setting value being requested.
userName
Type: SystemString
The username of the user account whose personalized system setting is being requested.

Return Value

Type: Object
The system setting value, the type of which will vary based upon the specific setting that was requested (bool, int, string, etc.).
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
UserNotFoundExceptionThrown if the userName parameter does not designate a valid FactoryLogix user account.
ArgumentExceptionOccurs if any of the parameters are invalid.
See Also