Get all roles for current application.

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

Syntax

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

Parameters

includeAllUsersRole
Type: System..::..Boolean
Include AllUsers role in the returning collection
applicationId
Type: System..::..Guid
Application Id

Return Value

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

Implements

IMembershipRepository..::..GetRoles(Boolean, Guid)

See Also