/// <summary> /// Retrieves a collection of <see cref="!:PortalUserModel" /> instances. /// </summary> /// <param name="personRoleId"> /// The value which identifies the <see cref="!:PortalUserModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:PortalUserModel" /> instances that match the specified <paramref name="personRoleId" />. /// </returns> public static IEnumerable <Consensus.Portal.PortalUser> FetchAllByPersonRoleId(System.String personRoleId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.FetchAllByPersonRoleId(site, personRoleId)); }
/// <summary> /// Retrieves a collection of <see cref="!:PortalUserModel" /> instances. /// </summary> /// <param name="sellingCompanyId"> /// The value which identifies the <see cref="!:PortalUserModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:PortalUserModel" /> instances that match the specified <paramref name="sellingCompanyId" />. /// </returns> public static IEnumerable <Consensus.Portal.PortalUser> FetchAllBySellingCompanyId(System.String sellingCompanyId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.FetchAllBySellingCompanyId(site, sellingCompanyId)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.GetTableName(site)); }
/// <summary> /// Retrieves a specific <see cref="!:PortalUserModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:PortalUserModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:PortalUserModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Portal.PortalUser FetchById(System.Int32 id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.FetchById(site, id)); }
/// <summary> /// Retrieves all instances of the <see cref="!:PortalUserModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:PortalUserModel" /> instances. /// </returns> public static IEnumerable <Consensus.Portal.PortalUser> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.FetchAll(site)); }
/// <summary> /// Creates a new <see cref="!:PortalUserModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:PortalUserModel" /> instance. /// </returns> public static Consensus.Portal.PortalUser Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.Create(site)); }
public static System.Boolean CheckIfUsernameExist(System.String name, System.String userId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(PortalUser.CheckIfUsernameExist(site, name, userId)); }