.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ModelDifference.UserId Property

Specifies the identifier of a user who owns the current ModelDifference object.

Namespace: DevExpress.Persistent.BaseImpl.EF

Assemblies: DevExpress.Persistent.BaseImpl.EF.v21.1.dll, DevExpress.Persistent.BaseImpl.EFCore.v21.1.dll


[ModelDefault("AllowEdit", "False")]
public string UserId { get; set; }

Property Value

Type Description

A string which is the identifier of a user who owns the current model differences.


If the Security System is enabled, the SecuritySystem.CurrentUserId value is used as the identifier. If the Security System is disabled, the System.Security.Principal.WindowsIdentity.GetCurrent().Name value is used. If this property value is empty, then the current ModelDifference object specifies the model differences layer shared by all users (administrator model differences).


See Also