Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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