Click or drag to resize

SystemSettingServicesSetPersonalSetting Method

Modifies the value of the specified personalized system setting.

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

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
setting
Type: FactoryLogix.xTend.DataObjectsSystemSettings
A Guid value representing the primary key of the system setting in the FactoryLogix database.
userName
Type: SystemString
The username of the user account whose personalized system setting is being modified.
newValue
Type: SystemObject
The new value for the specified system setting.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
UserNotFoundExceptionThrown if the userName parameter does not designate a valid FactoryLogix user account.
UserSettingNotAllowedExceptionThrown if the setting cannot be over-ridden for a user.
InvalidDataTypeExceptionThrown if the newValue parameter is not the correct data type.
ArgumentExceptionOccurs if any of the parameters are invali.d
See Also