C# Class Affecto.IdentityManagement.Store.EntityFramework.QueryService

Inheritance: IQueryService
Show file Open project: affecto/dotnet-IdentityManagement

Public Methods

Method Description
GetAccounts ( System.Guid userId ) : IReadOnlyCollection
GetGroup ( System.Guid groupId ) : Group
GetGroupMembers ( System.Guid groupId ) : IReadOnlyCollection
GetGroups ( ) : IReadOnlyCollection
GetOrganization ( System.Guid id ) : Organization
GetOrganizations ( ) : IReadOnlyCollection
GetPassword ( string accountName ) : string
GetPermissions ( ) : IReadOnlyCollection
GetRole ( System.Guid roleId ) : Role
GetRoles ( ) : IReadOnlyCollection
GetUser ( System.Guid userId ) : User
GetUser ( string accountName, AccountType accountType ) : User
GetUserGroups ( System.Guid userId ) : IReadOnlyCollection
GetUsers ( ) : IReadOnlyCollection
GetUsers ( string customPropertyName, string customPropertyValue ) : IReadOnlyCollection
GetUsers ( string customPropertyName, string customPropertyValue, AccountType accountType ) : IReadOnlyCollection
IsExistingUser ( string accountName, AccountType accountType ) : bool
QueryService ( IDbContext dbContext ) : System

Method Details

GetAccounts() public method

public GetAccounts ( System.Guid userId ) : IReadOnlyCollection
userId System.Guid
return IReadOnlyCollection

GetGroup() public method

public GetGroup ( System.Guid groupId ) : Group
groupId System.Guid
return Affecto.IdentityManagement.Querying.Data.Group

GetGroupMembers() public method

public GetGroupMembers ( System.Guid groupId ) : IReadOnlyCollection
groupId System.Guid
return IReadOnlyCollection

GetGroups() public method

public GetGroups ( ) : IReadOnlyCollection
return IReadOnlyCollection

GetOrganization() public method

public GetOrganization ( System.Guid id ) : Organization
id System.Guid
return Organization

GetOrganizations() public method

public GetOrganizations ( ) : IReadOnlyCollection
return IReadOnlyCollection

GetPassword() public method

public GetPassword ( string accountName ) : string
accountName string
return string

GetPermissions() public method

public GetPermissions ( ) : IReadOnlyCollection
return IReadOnlyCollection

GetRole() public method

public GetRole ( System.Guid roleId ) : Role
roleId System.Guid
return Affecto.IdentityManagement.Querying.Data.Role

GetRoles() public method

public GetRoles ( ) : IReadOnlyCollection
return IReadOnlyCollection

GetUser() public method

public GetUser ( System.Guid userId ) : User
userId System.Guid
return Affecto.IdentityManagement.Querying.Data.User

GetUser() public method

public GetUser ( string accountName, AccountType accountType ) : User
accountName string
accountType AccountType
return Affecto.IdentityManagement.Querying.Data.User

GetUserGroups() public method

public GetUserGroups ( System.Guid userId ) : IReadOnlyCollection
userId System.Guid
return IReadOnlyCollection

GetUsers() public method

public GetUsers ( ) : IReadOnlyCollection
return IReadOnlyCollection

GetUsers() public method

public GetUsers ( string customPropertyName, string customPropertyValue ) : IReadOnlyCollection
customPropertyName string
customPropertyValue string
return IReadOnlyCollection

GetUsers() public method

public GetUsers ( string customPropertyName, string customPropertyValue, AccountType accountType ) : IReadOnlyCollection
customPropertyName string
customPropertyValue string
accountType AccountType
return IReadOnlyCollection

IsExistingUser() public method

public IsExistingUser ( string accountName, AccountType accountType ) : bool
accountName string
accountType AccountType
return bool

QueryService() public method

public QueryService ( IDbContext dbContext ) : System
dbContext IDbContext
return System