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.245.0.0 (8.245.0.0)
Syntax public IEnumerable<Permission> GetRolePermissions(
Guid sessionId,
string roleName
)
Public Function GetRolePermissions (
sessionId As Guid,
roleName As String
) As IEnumerable(Of Permission)
public:
virtual IEnumerable<Permission^>^ GetRolePermissions(
Guid sessionId,
String^ roleName
) sealed
abstract GetRolePermissions :
sessionId : Guid *
roleName : string -> IEnumerable<Permission>
override GetRolePermissions :
sessionId : Guid *
roleName : string -> IEnumerable<Permission>
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:
IEnumerablePermissionA list of
Permission objects that are associated to the security role specified by the roleName parameter.
Exceptions See Also