 | AmiServiceClientGetRoles Method |
Retrieves a specified role.
Namespace: SanteDB.Messaging.AMI.ClientAssembly: SanteDB.Messaging.AMI.Client (in SanteDB.Messaging.AMI.Client.dll) Version: 3.0.2081-alpha+cbc29d8899d643bca0b6921497a6c32801355dbe
Syntaxpublic AmiCollection GetRoles(
Expression<Func<SecurityRole, bool>> query
)
Public Function GetRoles (
query As Expression(Of Func(Of SecurityRole, Boolean))
) As AmiCollection
public:
AmiCollection^ GetRoles(
Expression<Func<SecurityRole^, bool>^>^ query
)
member GetRoles :
query : Expression<Func<SecurityRole, bool>> -> AmiCollection Parameters
- query ExpressionFuncSecurityRole, Boolean
- The query expression to use to find the role.
Return Value
AmiCollectionReturns a collection of roles which match the specified query parameters.
See Also