-
Notifications
You must be signed in to change notification settings - Fork 2
/
IUserAccount.cs
134 lines (115 loc) · 5.07 KB
/
IUserAccount.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
using System;
namespace GalleryServerPro.Business.Interfaces
{
/// <summary>
/// Represents a user in the current application.
/// </summary>
public interface IUserAccount
{
/// <summary>
/// Gets or sets application-specific information for the membership user.
/// </summary>
/// <value>Application-specific information for the membership user.</value>
string Comment { get; set; }
/// <summary>
/// Gets the date and time when the user was added to the membership data store.
/// </summary>
/// <value>The date and time when the user was added to the membership data store.</value>
DateTime CreationDate { get; }
/// <summary>
/// Gets or sets the e-mail address for the membership user.
/// </summary>
/// <value>The e-mail address for the membership user.</value>
string Email { get; set; }
/// <summary>
/// Gets or sets whether the membership user can be authenticated.
/// </summary>
/// <value>
/// <c>true</c> if user can be authenticated; otherwise, <c>false</c>.
/// </value>
bool IsApproved { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the membership user is locked out and unable to be validated.
/// </summary>
/// <value>
/// <c>true</c> if the membership user is locked out and unable to be validated; otherwise, <c>false</c>.
/// </value>
bool IsLockedOut { get; set; }
/// <summary>
/// Gets whether the user is currently online.
/// </summary>
/// <value><c>true</c> if the user is online; otherwise, <c>false</c>.</value>
bool IsOnline { get; }
/// <summary>
/// Gets or sets the date and time when the membership user was last authenticated or accessed the application.
/// </summary>
/// <value>The date and time when the membership user was last authenticated or accessed the application.</value>
DateTime LastActivityDate { get; set; }
/// <summary>
/// Gets the most recent date and time that the membership user was locked out.
/// </summary>
/// <value>The most recent date and time that the membership user was locked out.</value>
DateTime LastLockoutDate { get; }
/// <summary>
/// Gets or sets the date and time when the user was last authenticated.
/// </summary>
/// <value>The date and time when the user was last authenticated.</value>
DateTime LastLoginDate { get; set; }
/// <summary>
/// Gets the date and time when the membership user's password was last updated.
/// </summary>
/// <value>The date and time when the membership user's password was last updated.</value>
DateTime LastPasswordChangedDate { get; }
/// <summary>
/// Gets the password question for the membership user.
/// </summary>
/// <value>The password question for the membership user.</value>
string PasswordQuestion { get; }
/// <summary>
/// Gets the name of the membership provider that stores and retrieves user information for the membership user.
/// </summary>
/// <value>The name of the membership provider that stores and retrieves user information for the membership user.</value>
string ProviderName { get; }
/// <summary>
/// Gets the user identifier from the membership data source for the user.
/// </summary>
/// <value>The user identifier from the membership data source for the user.</value>
object ProviderUserKey { get; }
/// <summary>
/// Gets the logon name of the membership user.
/// </summary>
/// <value>The logon name of the membership user.</value>
string UserName { get; }
/// <summary>
/// Copies the current account information to the specified <paramref name="userAccount" />.
/// </summary>
/// <param name="userAccount">The user account to populate with information from the current instance.</param>
void CopyTo(IUserAccount userAccount);
/// <summary>
/// Gets a value indicating whether the user has no restrictions on actions.
/// </summary>
/// <value>
/// <c>true</c> if the user is a super user; otherwise, <c>false</c>.
/// </value>
[Obsolete("Not implemented in current version of Gallery Server Pro, but may be implemented in versions that derive from this code, such as the DotNetNuke module.", true)]
bool IsSuperUser { get; }
/// <summary>
/// Gets or sets the user's first name.
/// </summary>
/// <value>The user's first name.</value>
[Obsolete("Not implemented in current version of Gallery Server Pro, but may be implemented in versions that derive from this code, such as the DotNetNuke module.", true)]
string FirstName { get; set; }
/// <summary>
/// Gets or sets the user's last name.
/// </summary>
/// <value>The user's last name.</value>
[Obsolete("Not implemented in current version of Gallery Server Pro, but may be implemented in versions that derive from this code, such as the DotNetNuke module.", true)]
string LastName { get; set; }
/// <summary>
/// Gets or sets the user's display name.
/// </summary>
/// <value>The user's display name.</value>
[Obsolete("Not implemented in current version of Gallery Server Pro, but may be implemented in versions that derive from this code, such as the DotNetNuke module.", true)]
string DisplayName { get; set; }
}
}