| SQLitePrincipalIsInRole Method |
Determines whether the current principal belongs to the specified role.
Namespace:
SanteDB.DisconnectedClient.SQLite.Security
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public bool IsInRole(
string role
)
Public Function IsInRole (
role As String
) As Boolean
public:
virtual bool IsInRole(
String^ role
) sealed
abstract IsInRole :
role : string -> bool
override IsInRole :
role : string -> bool
Parameters
- role
- Type: SystemString
The name of the role for which to check membership.
Return Value
Type:
Booleantrue if the current principal is a member of the specified role; otherwise, false.
Implements
IPrincipalIsInRole(String)See Also