• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class TestableUserController

Inheritance
System.Object
ServiceLocator<IUserController, TestableUserController>
TestableUserController
Implements
IUserController
Inherited Members
ServiceLocator<IUserController, TestableUserController>.Instance
ServiceLocator<IUserController, TestableUserController>.Factory
ServiceLocator<IUserController, TestableUserController>.SetTestableInstance(IUserController)
ServiceLocator<IUserController, TestableUserController>.ClearInstance()
ServiceLocator<IUserController, TestableUserController>.GetFactory()
Namespace: DotNetNuke.Entities.Users.Internal
Assembly: DotNetNuke.dll
Syntax
public class TestableUserController : ServiceLocator<IUserController, TestableUserController>, IUserController

Methods

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<IUserController> GetFactory()
Returns
Type Description
Func<IUserController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Users.Internal.IUserController, DotNetNuke.Entities.Users.Internal.TestableUserController>.GetFactory()
| Improve this Doc View Source

GetUserByDisplayname(Int32, String)

Declaration
public UserInfo GetUserByDisplayname(int portalId, string displayName)
Parameters
Type Name Description
System.Int32 portalId
System.String displayName
Returns
Type Description
UserInfo
| Improve this Doc View Source

GetUserById(Int32, Int32)

Declaration
public UserInfo GetUserById(int portalId, int userId)
Parameters
Type Name Description
System.Int32 portalId
System.Int32 userId
Returns
Type Description
UserInfo
| Improve this Doc View Source

GetUsersAdvancedSearch(Int32, Int32, Int32, Int32, Int32, Boolean, Int32, Int32, String, Boolean, String, String)

Declaration
public IList<UserInfo> GetUsersAdvancedSearch(int portalId, int userId, int filterUserId, int filterRoleId, int relationTypeId, bool isAdmin, int pageIndex, int pageSize, string sortColumn, bool sortAscending, string propertyNames, string propertyValues)
Parameters
Type Name Description
System.Int32 portalId
System.Int32 userId
System.Int32 filterUserId
System.Int32 filterRoleId
System.Int32 relationTypeId
System.Boolean isAdmin
System.Int32 pageIndex
System.Int32 pageSize
System.String sortColumn
System.Boolean sortAscending
System.String propertyNames
System.String propertyValues
Returns
Type Description
IList<UserInfo>
| Improve this Doc View Source

GetUsersBasicSearch(Int32, Int32, Int32, String, Boolean, String, String)

Declaration
public IList<UserInfo> GetUsersBasicSearch(int portalId, int pageIndex, int pageSize, string sortColumn, bool sortAscending, string propertyName, string propertyValue)
Parameters
Type Name Description
System.Int32 portalId
System.Int32 pageIndex
System.Int32 pageSize
System.String sortColumn
System.Boolean sortAscending
System.String propertyName
System.String propertyValue
Returns
Type Description
IList<UserInfo>

Implements

IUserController

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS