Click or drag to resize

UserSecurityServicesRemoveUsersFromGroup Method

Removes multiple users from a user group.

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 RemoveUsersFromGroup(
	Guid sessionId,
	string userGroupName,
	IEnumerable<string> userNames
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
userGroupName
Type: SystemString
The name of the user group to which the user should be added.
userNames
Type: System.Collections.GenericIEnumerableString
The username of the user to be removed from the group.
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.
UserGroupNotFoundExceptionThrown if the user group specified by the userGroupName parameter does not exist.
UserNotFoundExceptionThrown if any of the users specified by the userNames parameter do not exist.
NotAuthorizedExceptionThrown when not authorized to perform the function.
See Also