Click or drag to resize

UserSecurityServicesGetRole Method

Retrieves a single security role definition.

Namespace:  FactoryLogix.xTend.Configuration
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Role GetRole(
	Guid sessionId,
	string roleName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
roleName
Type: SystemString
The friendly name of the security role to be retrieved.

Return Value

Type: Role
A Role object representing the security role specified by the roleName parameter
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
ArgumentExceptionOccurs if any of the parameters are invalid.
RoleNotFoundExceptionThrown if the role specified by the roleName parameter does not exist.
See Also