IUserDefinition interface
namespace: Serenity assembly: Serenity.Net.Core
Represents the core identity information for a user.
public interface IUserDefinition
Members
| name | description |
|---|---|
| DisplayName { get; } | Gets the display name of the user, which may be the same as Username. |
| Email { get; } | Gets the email address of the user. |
| Id { get; } | Gets the unique user identifier. |
| IsActive { get; } | Gets a value indicating whether the user is active (1 = active, 0 = disabled, -1 = deleted). |
| Username { get; } | Gets the login name of the user. |
Remarks
Applications typically implement this interface with an application-specific class (for example, UserDefinition) that adds additional properties.
See Also
- Source: IUserDefinition.cs