Click or drag to resize

UserSecurityServicesRemoveUserCertifications Method

Removes the specified operator certifications from specified user. All effectivity date information for this user-certification association will be permanently deleted. If a certification is specified that is not presently associated to the user, it will be ignored.

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 RemoveUserCertifications(
	Guid sessionId,
	string userName,
	IEnumerable<Certification> certificationsToRemove
)

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 whose certifications are to be updated.
certificationsToRemove
Type: System.Collections.GenericIEnumerableCertification
A list of Certification objects representing the operator certifications to be removed from this user.
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 userName parameter is invalid.
CertificationNotFoundExceptionThrown if one or more of the certifications specified by the newCertifications parameter has an invalid Id property and does not exist in the system.
NotAuthorizedExceptionThrown when not authorized to perform the function.
See Also