UserSecurityServicesGetRole Method |
Retrieves a single security role definition.
Namespace:
FactoryLogix.xTend.Configuration
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public Role GetRole(
Guid sessionId,
string roleName
)
Public Function GetRole (
sessionId As Guid,
roleName As String
) As Role
public:
virtual Role^ GetRole(
Guid sessionId,
String^ roleName
) sealed
abstract GetRole :
sessionId : Guid *
roleName : string -> Role
override GetRole :
sessionId : Guid *
roleName : string -> Role
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:
RoleA
Role object representing the security role specified by the roleName parameter
Exceptions See Also