Table of Contents

Class DnnUserProfileDataRaw

Namespace
ToSic.Sxc.Dnn.DataSources
Assembly
ToSic.Sxc.Dnn.Core.dll

Internal class to hold all the information about the user profile, until it's converted to an IEntity in the DnnUserProfile DataSource.

For detailed documentation, check the docs of the underlying objects:

  • TODO:
  • TODO: Important: this is an internal object. We're just including in in the docs to better understand where the properties come from. We'll probably move it to another namespace some day.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class DnnUserProfileDataRaw
Inheritance
object
DnnUserProfileDataRaw

Remarks

Make sure the property names never change, as they are critical for the created Entity.

Properties

Created

Created - either the real creation date or the DateTime.Now

public DateTime Created { get; set; }

Property Value

DateTime

Guid

The Guid to use. Must always be set. If you don't have a GUID, use Guid.Empty

public Guid Guid { get; set; }

Property Value

Guid

Id

The ID to use. If the real object doesn't have a real ID, please do not set at all. It will then keep the default and will auto-enumerate.

public int Id { get; set; }

Property Value

int

Modified

Modified - either the real creation date or the DateTime.Now

public DateTime Modified { get; set; }

Property Value

DateTime

Name

public string Name { get; set; }

Property Value

string

Properties

public Dictionary<string, object> Properties { get; }

Property Value

Dictionary<string, object>