User IsInRole Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Determines whether the current principal belongs to the specified role. This method implements IPrincipal and has little application in NFX framework context as NFX permissions are more granular than just boolean. This method really checks user kind (User/Admin/Sys). Confusion comes from the fact that what Microsoft calls role really is just a single named permission - a role is a named permission set in NFX.

Namespace: NFX.Security
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public bool IsInRole(
	string role
)

Return Value

Type: OnlineBoolean

Implements

OnlineIPrincipal IsInRole(String)
See Also