Get all roles for current application.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual EntityCollection<AspnetRolesEntity> GetRoles(
	bool includeAllUsersRole
)
Visual Basic
Public Overridable Function GetRoles ( 
	includeAllUsersRole As Boolean
) As EntityCollection(Of AspnetRolesEntity)
Visual C++
public:
virtual EntityCollection<AspnetRolesEntity^>^ GetRoles(
	bool includeAllUsersRole
)
F#
abstract GetRoles : 
        includeAllUsersRole : bool -> EntityCollection<AspnetRolesEntity> 
override GetRoles : 
        includeAllUsersRole : bool -> EntityCollection<AspnetRolesEntity> 

Parameters

includeAllUsersRole
Type: System..::..Boolean
Include AllUsers role in the returning collection

Return Value

Type: EntityCollection<(Of <(<'AspnetRolesEntity>)>)>
Role collection

Implements

IMembershipBLL..::..GetRoles(Boolean)

See Also