Click or drag to resize

AmiServiceClientGetRoles Method

Retrieves a specified role.

Namespace:  SanteDB.Messaging.AMI.Client
Assembly:  SanteDB.Messaging.AMI.Client (in SanteDB.Messaging.AMI.Client.dll) Version: 2.2.1
Syntax
public AmiCollection GetRoles(
	Expression<Func<SecurityRole, bool>> query
)

Parameters

query
Type: System.Linq.ExpressionsExpressionFuncSecurityRole, Boolean
The query expression to use to find the role.

Return Value

Type: AmiCollection
Returns a collection of roles which match the specified query parameters.
See Also