Click or drag to resize

UserSecurityServicesRemoveUserFromGroup Method

Removes a single user 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 RemoveUserFromGroup(
	Guid sessionId,
	string userGroupName,
	string userName
)

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.
userName
Type: SystemString
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 the user specified by the userName parameter does not exist.
NotAuthorizedExceptionThrown when not authorized to perform the function.
See Also