Click or drag to resize

UserSecurityServicesUpdateRole Method

Updates an existing security role.

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 UpdateRole(
	Guid sessionId,
	Role role
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
role
Type: FactoryLogix.xTend.DataObjectsRole
A modified Role object that supplies the new role values.
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.
RoleNotFoundExceptionThrown if the Id property of the role parameter is invalid.
AlreadyExistsExceptionThrown if the Name property of the role parameter already exists on another role.
NotAuthorizedExceptionThrown when not authorized to perform the function.
See Also