Click or drag to resize

UserSecurityServicesUpdateUser Method

Updates the details of a particular FactoryLogix 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 void UpdateUser(
	Guid sessionId,
	User user
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
user
Type: FactoryLogix.xTend.DataObjectsUser
A User object that was retrieved by a previous Get or Create method call, and contains a valid ID field.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotAuthorizedExceptionOccurs if the current user is not authorized to use this feature.
ArgumentExceptionOccurs if any of the parameters are invalid.
UserNotFoundExceptionThrown if the ID property of the user parameter is invalid.
AlreadyExistsExceptionThrown if the UserName property of the user parameter already exists on another user.
NotAuthorizedExceptionThrown when not authorized to perform the function.
See Also