Skip to main content
.NET Framework 4.6.2+

ModelDifference.UserId Property

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

Namespace: DevExpress.Persistent.BaseImpl.EF

Assembly: DevExpress.Persistent.BaseImpl.EFCore.v24.2.dll

Declaration

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

Property Value

Type Description
String

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

Remarks

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).

Implements

See Also