Click or drag to resize

PartServicesRemoveAssociatedUsersAndGroupsFromCustomer Method

Removes a particular set of user and user group associations from a single Customer.

Namespace:  FactoryLogix.xTend.PartDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void RemoveAssociatedUsersAndGroupsFromCustomer(
	Guid sessionId,
	string customerName,
	UserBase[] usersAndGroups
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
customerName
Type: SystemString
The name of the customer whose user and user group associations are to be removed.
usersAndGroups
Type: FactoryLogix.xTend.DataObjectsUserBase
A list containing any combination of User and UserGroup objects which will be removed from the Customer. If any of the users or user groups in the list are not presently associated to the specified customer, they will be ignored and no exceptions will be thrown. The Id property of these objects must be valid.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
CustomerDoesNotExistsExceptionThrown if the specified customer does not exist in the system.
See Also