Click or drag to resize

PartServicesAddAssociatedUsersAndGroupsToCustomer Method

Adds Users and/or User Groups to a particular 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 AddAssociatedUsersAndGroupsToCustomer(
	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 to which the users and/or user groups should be added.
usersAndGroups
Type: FactoryLogix.xTend.DataObjectsUserBase
A list containing any combination of User and UserGroup objects which will be added to the Customer. 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.
UserNotFoundExceptionThrown if any of the users or user groups specified do not exist in the system.
See Also