Click or drag to resize

UserSecurityServicesDeleteUser Method

Permanently removes a particular FactoryLogix user account from the system. All roles, certifications, and other information associated to this acccount will be deleted as well.

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 DeleteUser(
	Guid sessionId,
	string userName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
userName
Type: SystemString
The username of the user account to be deleted.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotAuthorizedExceptionOccurs if the current user is not authorized to use this feature.
ArgumentExceptionThrown if the parameters are invalid.
UserNotFoundExceptionThrown if the username parameter is invalid.
NotAuthorizedExceptionThrown when not authorized to perform the function.
See Also