• Basics
  • Abyss
  • Web APIs
  • C# & Razor
  • .net API
  • JS & TS API

    Show / Hide Table of Contents

    Class DnnUserProfile

    Get DNN user profiles as IEntity objects of one or many users.

    Inheritance
    System.Object
    ToSic.Lib.Services.ServiceBase
    ToSic.Lib.Services.ServiceBase<ToSic.Eav.DataSource.DataSourceBase.MyServices>
    DataSourceBase
    ToSic.Eav.DataSource.CustomDataSourceAdvanced
    DnnUserProfile
    Implements
    IDataSource
    IAppIdentity
    IZoneIdentity
    IAppIdentityLight
    ICacheKey
    ICacheExpiring
    ITimestamped
    IHasLog
    IDataSourceLinkable
    Inherited Members
    DataSourceBase.AppId
    DataSourceBase.ZoneId
    DataSourceBase.Guid
    DataSourceBase.Error
    DataSourceBase.CacheTimestamp
    DataSourceBase.CacheChanged(Int64)
    DataSourceBase.Configuration
    DataSourceBase.Link
    DataSourceBase.In
    DataSourceBase.TryGetIn(String)
    DataSourceBase.TryGetOut(String)
    DataSourceBase.Out
    DataSourceBase.Item[String]
    DataSourceBase.GetStream(String, String, Boolean, Boolean)
    DataSourceBase.List
    DataSourceBase.Attach(IDataSource)
    DataSourceBase.Attach(String, IDataSource, String)
    DataSourceBase.Attach(String, IDataStream)
    DataSourceBase.ProvideOut(Func<IEnumerable<IEntity>>, String)
    DataSourceBase.ProvideOut(Func<IImmutableList<IEntity>>, String)
    Namespace: ToSic.Sxc.Dnn.DataSources
    Assembly: ToSic.Sxc.Dnn.Core.dll
    Syntax
    [PublicApi_Stable_ForUseInYourCode]
    [VisualQuery(NiceName = "Dnn User Profiles", UiHint = "Users profiles of specified users in Dnn", Icon = "face", Type = DataSourceType.Source, NameId = "ToSic.Sxc.Dnn.DataSources.DnnUserProfile, ToSic.Sxc.Dnn", ConfigurationType = "|Config ToSic.SexyContent.DataSources.DnnUserProfileDataSource", NameIds = new string[]{"ToSic.SexyContent.Environment.Dnn7.DataSources.DnnUserProfileDataSource, ToSic.SexyContent"})]
    public class DnnUserProfile : CustomDataSourceAdvanced, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheInfo, ICacheKey, ICacheExpiring, ITimestamped, ICanPurgeListCache, IHasLog, IDataTarget, IAppIdentitySync, IDataSourceLinkable

    Constructors

    | Improve this Doc View Source

    DnnUserProfile(DnnUserProfile.MyServices, IDataFactory)

    Declaration
    public DnnUserProfile(DnnUserProfile.MyServices services, IDataFactory dataFactory)
    Parameters
    Type Name Description
    ToSic.Sxc.Dnn.DataSources.DnnUserProfile.MyServices services
    IDataFactory dataFactory

    Properties

    | Improve this Doc View Source

    ContentType

    Gets or sets the Name of the ContentType to simulate

    Declaration
    [Configuration(Field = "ContentTypeName", Fallback = "UserProfile")]
    public string ContentType { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Properties

    List of profile-properties to retrieve, comma-separated

    Declaration
    [Configuration(Fallback = "DisplayName,Email,FirstName,LastName,Username")]
    public string Properties { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TitleField

    Gets or sets the Name of the Title Attribute of the DNN-UserInfo

    Declaration
    [Configuration(Field = "TitleFieldName", Fallback = "DisplayName")]
    public string TitleField { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UserIds

    The user id list of users to retrieve, comma-separated

    Declaration
    [Configuration]
    public string UserIds { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    IDataSource
    IAppIdentity
    IZoneIdentity
    IAppIdentityLight
    ICacheKey
    ICacheExpiring
    ITimestamped
    IHasLog
    IDataSourceLinkable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX