Click or drag to resize

UserSecurityServicesGetRolePermissions Method

Retrieves the security permissions associated to the specified 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 IEnumerable<Permission> GetRolePermissions(
	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

Return Value

Type: IEnumerablePermission
A list of Permission objects that are associated to 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 role specified by the roleName parameter does not exist.
See Also