File: MembershipUser.xml

package info (click to toggle)
mono 6.14.1%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,282,732 kB
  • sloc: cs: 11,182,461; xml: 2,850,281; ansic: 699,123; cpp: 122,919; perl: 58,604; javascript: 30,841; asm: 21,845; makefile: 19,602; sh: 10,973; python: 4,772; pascal: 925; sql: 859; sed: 16; php: 1
file content (689 lines) | stat: -rw-r--r-- 53,484 bytes parent folder | download | duplicates (8)
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
<?xml version="1.0" encoding="utf-8"?>
<Type Name="MembershipUser" FullName="System.Web.Security.MembershipUser">
  <TypeSignature Language="C#" Value="public class MembershipUser" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.Security.MembershipUser" /> object is used to represent a single membership user in the membership data store. It exposes information about the membership user such as the e-mail address, and provides functionality for the membership user such as the ability to change or reset his or her password.</para>
      <block subset="none" type="note">
        <para>If you are not familiar with the membership features of ASP.NET, see <format type="text/html"><a href="79184d17-f4c7-4c9f-a073-cec4f5543980">Introduction to Membership</a></format> before continuing. For a list of other topics related to membership, see <format type="text/html"><a href="824c3a24-f0af-427c-a652-0d2d1e9397cd">Managing Users By Using Membership</a></format>.</para>
      </block>
      <para>A <see cref="T:System.Web.Security.MembershipUser" /> object is returned by the <see cref="M:System.Web.Security.Membership.GetUser" /> and <see cref="M:System.Web.Security.Membership.CreateUser(System.String,System.String)" /> methods or as part of a <see cref="T:System.Web.Security.MembershipUserCollection" /> returned by the <see cref="M:System.Web.Security.Membership.GetAllUsers" />, <see cref="Overload:System.Web.Security.Membership.FindUsersByName" />, and <see cref="Overload:System.Web.Security.Membership.FindUsersByEmail" /> methods.</para>
      <para>A <see cref="T:System.Web.Security.MembershipUser" /> object is required by the <see cref="M:System.Web.Security.Membership.UpdateUser(System.Web.Security.MembershipUser)" /> method when you want to update the information for an existing membership user. </para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Exposes and updates membership user information in the membership data store.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected MembershipUser ();" />
      <MemberType>Constructor</MemberType>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="T:System.Web.Security.MembershipUser" /> constructor is not intended to be used from your code.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a new instance of a <see cref="T:System.Web.Security.MembershipUser" /> object for a class that inherits the <see cref="T:System.Web.Security.MembershipUser" /> class.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public MembershipUser (string providerName, string name, object providerUserKey, string email, string passwordQuestion, string comment, bool isApproved, bool isLockedOut, DateTime creationDate, DateTime lastLoginDate, DateTime lastActivityDate, DateTime lastPasswordChangedDate, DateTime lastLockoutDate);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="providerName" Type="System.String" />
        <Parameter Name="name" Type="System.String" />
        <Parameter Name="providerUserKey" Type="System.Object" />
        <Parameter Name="email" Type="System.String" />
        <Parameter Name="passwordQuestion" Type="System.String" />
        <Parameter Name="comment" Type="System.String" />
        <Parameter Name="isApproved" Type="System.Boolean" />
        <Parameter Name="isLockedOut" Type="System.Boolean" />
        <Parameter Name="creationDate" Type="System.DateTime" />
        <Parameter Name="lastLoginDate" Type="System.DateTime" />
        <Parameter Name="lastActivityDate" Type="System.DateTime" />
        <Parameter Name="lastPasswordChangedDate" Type="System.DateTime" />
        <Parameter Name="lastLockoutDate" Type="System.DateTime" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creating a new <see cref="T:System.Web.Security.MembershipUser" /> object does not add a new membership user object to the membership data store. To add a new membership user to the membership data store, use the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> method. Note that the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> method returns a <see cref="T:System.Web.Security.MembershipUser" /> object for the membership user added to the data store.</para>
          <para>
            <see cref="T:System.Web.Security.MembershipUser" /> objects can be constructed in application code for use with the <see cref="M:System.Web.Security.Membership.UpdateUser(System.Web.Security.MembershipUser)" /> method. Alternatively, you can also pass a <see cref="T:System.Web.Security.MembershipUser" /> object returned from the <see cref="Overload:System.Web.Security.Membership.CreateUser" />, <see cref="Overload:System.Web.Security.Membership.GetUser" />, <see cref="Overload:System.Web.Security.Membership.GetAllUsers" />, <see cref="Overload:System.Web.Security.Membership.FindUsersByName" />, or <see cref="Overload:System.Web.Security.Membership.FindUsersByEmail" /> method to the <see cref="M:System.Web.Security.Membership.UpdateUser(System.Web.Security.MembershipUser)" /> method as well.</para>
          <para>
            <see cref="T:System.Web.Security.MembershipUser" /> objects are also commonly constructed by membership-provider implementations for the <see cref="M:System.Web.Security.MembershipProvider.CreateUser(System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Object,System.Web.Security.MembershipCreateStatus@)" />, <see cref="M:System.Web.Security.MembershipProvider.GetUser(System.String,System.Boolean)" />, <see cref="M:System.Web.Security.MembershipProvider.GetAllUsers(System.Int32,System.Int32,System.Int32@)" />, <see cref="M:System.Web.Security.MembershipProvider.FindUsersByName(System.String,System.Int32,System.Int32,System.Int32@)" />, and <see cref="M:System.Web.Security.MembershipProvider.FindUsersByEmail(System.String,System.Int32,System.Int32,System.Int32@)" /> methods.</para>
          <para>The <paramref name="name" />, <paramref name="email" />, and <paramref name="passwordQuestion" /> parameters are all trimmed before being used.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a new membership user object with the specified property values.</para>
        </summary>
        <param name="providerName">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> string for the membership user.</param>
        <param name="name">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.UserName" /> string for the membership user.</param>
        <param name="providerUserKey">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.ProviderUserKey" /> identifier for the membership user.</param>
        <param name="email">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.Email" /> string for the membership user.</param>
        <param name="passwordQuestion">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.PasswordQuestion" /> string for the membership user.</param>
        <param name="comment">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.Comment" /> string for the membership user.</param>
        <param name="isApproved">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.IsApproved" /> value for the membership user.</param>
        <param name="isLockedOut">
          <attribution license="cc4" from="Microsoft" modified="false" />true to lock out the membership user; otherwise, false.</param>
        <param name="creationDate">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.CreationDate" /> <see cref="T:System.DateTime" /> object for the membership user.</param>
        <param name="lastLoginDate">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" /> <see cref="T:System.DateTime" /> object for the membership user.</param>
        <param name="lastActivityDate">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> <see cref="T:System.DateTime" /> object for the membership user.</param>
        <param name="lastPasswordChangedDate">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.LastPasswordChangedDate" /> <see cref="T:System.DateTime" /> object for the membership user.</param>
        <param name="lastLockoutDate">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.Security.MembershipUser.LastLockoutDate" /> <see cref="T:System.DateTime" /> object for the membership user.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ChangePassword">
      <MemberSignature Language="C#" Value="public virtual bool ChangePassword (string oldPassword, string newPassword);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="oldPassword" Type="System.String" />
        <Parameter Name="newPassword" Type="System.String" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>
            <see cref="M:System.Web.Security.MembershipUser.ChangePassword(System.String,System.String)" /> calls the <see cref="M:System.Web.Security.MembershipProvider.ChangePassword(System.String,System.String,System.String)" /> method of the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property to update the password for the membership user in the membership data store.</para>
          <para>The membership provider may have restrictions on the size of the password. For size limitations, see the documentation for the membership provider.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Updates the password for the membership user in the membership data store.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>true if the update was successful; otherwise, false.</para>
        </returns>
        <param name="oldPassword">
          <attribution license="cc4" from="Microsoft" modified="false" />The current password for the membership user.</param>
        <param name="newPassword">
          <attribution license="cc4" from="Microsoft" modified="false" />The new password for the membership user.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ChangePasswordQuestionAndAnswer">
      <MemberSignature Language="C#" Value="public virtual bool ChangePasswordQuestionAndAnswer (string password, string newPasswordQuestion, string newPasswordAnswer);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="password" Type="System.String" />
        <Parameter Name="newPasswordQuestion" Type="System.String" />
        <Parameter Name="newPasswordAnswer" Type="System.String" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>
            <see cref="M:System.Web.Security.MembershipUser.ChangePasswordQuestionAndAnswer(System.String,System.String,System.String)" /> calls the <see cref="M:System.Web.Security.MembershipProvider.ChangePasswordQuestionAndAnswer(System.String,System.String,System.String,System.String)" /> method of the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property to update the password question and answer for the membership user in the membership data store.</para>
          <para>The membership provider may have restrictions on the size of the password question and answer. For size limitations, see the documentation for the membership provider.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Updates the password question and answer for the membership user in the membership data store.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>true if the update was successful; otherwise, false.</para>
        </returns>
        <param name="password">
          <attribution license="cc4" from="Microsoft" modified="false" />The current password for the membership user.</param>
        <param name="newPasswordQuestion">
          <attribution license="cc4" from="Microsoft" modified="false" />The new password question value for the membership user.</param>
        <param name="newPasswordAnswer">
          <attribution license="cc4" from="Microsoft" modified="false" />The new password answer value for the membership user.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Comment">
      <MemberSignature Language="C#" Value="public virtual string Comment { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.MembershipUser.Comment" /> property can be used to store custom information for a membership user that is specific to an application. The amount of information that can be stored in the <see cref="P:System.Web.Security.MembershipUser.Comment" /> property for a <see cref="T:System.Web.Security.MembershipUser" /> is defined by the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property. If your application requires more space to store user information than is allowed by the membership provider, you can implement a custom membership provider, or use the user <see cref="N:System.Web.Profile" />.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets application-specific information for the membership user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="CreationDate">
      <MemberSignature Language="C#" Value="public virtual DateTime CreationDate { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.DateTime</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="T:System.Web.Security.SqlMembershipProvider" /> sets the <see cref="P:System.Web.Security.MembershipUser.CreationDate" />, <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" />, <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" />, and <see cref="P:System.Web.Security.MembershipUser.LastPasswordChangedDate" /> date to the same date and time when a membership user is created by the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the date and time when the user was added to the membership data store.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Email">
      <MemberSignature Language="C#" Value="public virtual string Email { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the e-mail address for the membership user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetPassword">
      <MemberSignature Language="C#" Value="public virtual string GetPassword ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>
            <see cref="M:System.Web.Security.MembershipUser.GetPassword" /> calls the <see cref="M:System.Web.Security.MembershipProvider.GetPassword(System.String,System.String)" /> method of the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property to retrieve the password for the membership from the membership data store.</para>
          <para>If <see cref="P:System.Web.Security.Membership.EnablePasswordRetrieval" /> is false, the membership provider will return an exception. If the provider supports passwords with a <see cref="P:System.Web.Security.SqlMembershipProvider.PasswordFormat" /> of <see cref="F:System.Web.Security.MembershipPasswordFormat.Hashed" />, you will be unable to retrieve the password for the membership user and should consider making use of the <see cref="M:System.Web.Security.MembershipUser.ResetPassword" /> method when a user has forgotten his or her password.</para>
          <block subset="none" type="note">
            <para>A <see cref="T:System.Configuration.ConfigurationException" /> will be thrown if enablePasswordRetrieval is set to true and passwordFormat is set to Hashed in the Web.config file for the ASP.NET application.</para>
          </block>
          <para>If <see cref="P:System.Web.Security.Membership.RequiresQuestionAndAnswer" /> is true, you must use the <see cref="M:System.Web.Security.MembershipUser.GetPassword(System.String)" /> overload that takes a password answer as a parameter and supply the password answer for the membership user. If a password answer is required and an incorrect password answer is supplied, a <see cref="T:System.Web.Security.MembershipPasswordException" /> is thrown by the membership provider.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the password for the membership user from the membership data store.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The password for the membership user.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetPassword">
      <MemberSignature Language="C#" Value="public virtual string GetPassword (string answer);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="answer" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="answer">To be added.</param>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>
            <see cref="M:System.Web.Security.MembershipUser.GetPassword(System.String)" /> calls the <see cref="M:System.Web.Security.MembershipProvider.GetPassword(System.String,System.String)" /> method of the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property to retrieve the password for the membership user from the membership data store. If a password answer is required and an incorrect password answer is supplied, a <see cref="T:System.Web.Security.MembershipPasswordException" /> is thrown by the membership provider.</para>
          <para>If <see cref="P:System.Web.Security.Membership.EnablePasswordRetrieval" /> is false, the membership provider will return an exception. If the provider supports passwords with a <see cref="P:System.Web.Security.SqlMembershipProvider.PasswordFormat" /> of <see cref="F:System.Web.Security.MembershipPasswordFormat.Hashed" />, you will be unable to retrieve the password for the membership user and should consider making use of the <see cref="M:System.Web.Security.MembershipUser.ResetPassword" /> method when a user has forgotten his or her password.</para>
          <block subset="none" type="note">
            <para>A <see cref="T:System.Configuration.ConfigurationException" /> will be thrown if enablePasswordRetrieval is set to true and passwordFormat is set to Hashed in the Web.config file for the ASP.NET application.</para>
          </block>
          <para>If <see cref="P:System.Web.Security.Membership.RequiresQuestionAndAnswer" /> is false, you can supply null for the <paramref name="answer" /> parameter, or use the <see cref="M:System.Web.Security.MembershipUser.GetPassword" /> overload that does not take any parameters.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the password for the membership user from the membership data store.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The password for the membership user.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="IsApproved">
      <MemberSignature Language="C#" Value="public virtual bool IsApproved { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.MembershipUser.IsApproved" /> value for a membership user is checked during the call to <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> by the <see cref="T:System.Web.Security.SqlMembershipProvider" />. If the <see cref="P:System.Web.Security.MembershipUser.IsApproved" /> property is set to false, the <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> method returns false even if the supplied user name and password are correct.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets whether the membership user can be authenticated.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="IsLockedOut">
      <MemberSignature Language="C#" Value="public virtual bool IsLockedOut { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Users are most commonly locked out and cannot be validated by the <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> method when the <see cref="P:System.Web.Security.Membership.MaxInvalidPasswordAttempts" /> is reached within the <see cref="P:System.Web.Security.Membership.PasswordAttemptWindow" />.</para>
          <para>Users can also be locked out if you use the <see cref="M:System.Web.Security.MembershipUser.GetPassword(System.String)" /> or <see cref="M:System.Web.Security.MembershipUser.ResetPassword(System.String)" /> overload that accepts a password answer and the number of bad answers entered by the user reaches the <see cref="P:System.Web.Security.Membership.MaxInvalidPasswordAttempts" />within the <see cref="P:System.Web.Security.Membership.PasswordAttemptWindow" />.</para>
          <para>To set this property to false and let the user try to log in again, you can use the <see cref="M:System.Web.Security.MembershipUser.UnlockUser" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a value indicating whether the membership user is locked out and unable to be validated.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="IsOnline">
      <MemberSignature Language="C#" Value="public bool IsOnline { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A user is considered online if the current date and time minus the <see cref="P:System.Web.Security.Membership.UserIsOnlineTimeWindow" /> property value is earlier than the <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> for the user.</para>
          <para>The <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> for a user is updated to the current date and time by the <see cref="Overload:System.Web.Security.Membership.CreateUser" />, <see cref="M:System.Web.Security.Membership.UpdateUser(System.Web.Security.MembershipUser)" /> and <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> methods, and can be updated by some of the overloads of the <see cref="Overload:System.Web.Security.Membership.GetUser" /> method.</para>
          <block subset="none" type="note">
            <para>The <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> property value for a user is updated by the classes in the <see cref="N:System.Web.Profile" /> and the <see cref="N:System.Web.UI.WebControls.WebParts" /> namespaces whenever user data is retrieved from or set at the data source. If your application uses the same data source to store user information, and your <see cref="T:System.Web.Profile.ProfileProvider" /> and <see cref="T:System.Web.UI.WebControls.WebParts.PersonalizationProvider" /> are configured with the same applicationName as your <see cref="T:System.Web.Security.MembershipProvider" />, then the <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> and <see cref="P:System.Web.Security.MembershipUser.IsOnline" /> properties of the user will reflect this behavior.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets whether the user is currently online.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="LastActivityDate">
      <MemberSignature Language="C#" Value="public virtual DateTime LastActivityDate { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.DateTime</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> for a user is updated to the current date and time by the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> and <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> methods, and can be updated by some overloads of the <see cref="Overload:System.Web.Security.Membership.GetUser" /> method. You can use the <see cref="M:System.Web.Security.Membership.UpdateUser(System.Web.Security.MembershipUser)" /> method to set the <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> property to a specific date and time.</para>
          <para>The <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> is used to determine whether a user is online. A user is considered online if the current date and time minus the <see cref="P:System.Web.Security.Membership.UserIsOnlineTimeWindow" /> property value is earlier than the <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> for the user.</para>
          <para>The <see cref="T:System.Web.Security.SqlMembershipProvider" /> sets the <see cref="P:System.Web.Security.MembershipUser.CreationDate" />, <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" />, <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" />, and <see cref="P:System.Web.Security.MembershipUser.LastPasswordChangedDate" /> date to the same date and time when a membership user is created by the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> method.</para>
          <block subset="none" type="note">
            <para>The <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> for a user is updated by the classes in the <see cref="N:System.Web.Profile" /> and the <see cref="N:System.Web.UI.WebControls.WebParts" /> namespaces whenever user data is retrieved from or set at the data source. If your application uses the same data source to store user information, and your <see cref="T:System.Web.Profile.ProfileProvider" /> and <see cref="T:System.Web.UI.WebControls.WebParts.PersonalizationProvider" /> are configured with the same applicationName as your <see cref="T:System.Web.Security.MembershipProvider" />, then the <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" /> and <see cref="P:System.Web.Security.MembershipUser.IsOnline" /> properties of the user will reflect this behavior.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the date and time when the membership user was last authenticated or accessed the application.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="LastLockoutDate">
      <MemberSignature Language="C#" Value="public virtual DateTime LastLockoutDate { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.DateTime</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Users are most commonly locked out when the <see cref="P:System.Web.Security.Membership.MaxInvalidPasswordAttempts" /> is reached within the <see cref="P:System.Web.Security.Membership.PasswordAttemptWindow" />.</para>
          <para>Users can also be locked out if you use the <see cref="M:System.Web.Security.MembershipUser.GetPassword(System.String)" /> or <see cref="M:System.Web.Security.MembershipUser.ResetPassword(System.String)" /> overload that accepts a password answer and the number of bad answers entered by the user reaches the <see cref="P:System.Web.Security.Membership.MaxInvalidPasswordAttempts" /> within the <see cref="P:System.Web.Security.Membership.PasswordAttemptWindow" />.</para>
          <para>The default value for the <see cref="P:System.Web.Security.MembershipUser.LastLockoutDate" /> property is determined by the membership provider. For example, when a membership user is created using the <see cref="T:System.Web.Security.SqlMembershipProvider" /> provider, the <see cref="P:System.Web.Security.MembershipUser.LastLockoutDate" /> property for the user is initially set to 01/01/1754.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the most recent date and time that the membership user was locked out.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="LastLoginDate">
      <MemberSignature Language="C#" Value="public virtual DateTime LastLoginDate { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.DateTime</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>For new users, the <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" /> is equal to the <see cref="P:System.Web.Security.MembershipUser.CreationDate" /> if the user has not yet logged on. The <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" /> is updated to the current date and time if a call to the <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> method is successful.</para>
          <para>You can also modify the last login date by setting the <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" /> property of a <see cref="T:System.Web.Security.MembershipUser" /> and passing the modified <see cref="T:System.Web.Security.MembershipUser" /> object to the <see cref="M:System.Web.Security.Membership.UpdateUser(System.Web.Security.MembershipUser)" /> method.</para>
          <para>The <see cref="T:System.Web.Security.SqlMembershipProvider" /> sets the <see cref="P:System.Web.Security.MembershipUser.CreationDate" />, <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" />, <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" />, and <see cref="P:System.Web.Security.MembershipUser.LastPasswordChangedDate" /> date to the same date and time when a membership user is created by the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the date and time when the user was last authenticated.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="LastPasswordChangedDate">
      <MemberSignature Language="C#" Value="public virtual DateTime LastPasswordChangedDate { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.DateTime</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="T:System.Web.Security.SqlMembershipProvider" /> sets the <see cref="P:System.Web.Security.MembershipUser.CreationDate" />, <see cref="P:System.Web.Security.MembershipUser.LastLoginDate" />, <see cref="P:System.Web.Security.MembershipUser.LastActivityDate" />, and <see cref="P:System.Web.Security.MembershipUser.LastPasswordChangedDate" /> date to the same date and time when a membership user is created by the <see cref="Overload:System.Web.Security.Membership.CreateUser" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the date and time when the membership user's password was last updated.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="PasswordQuestion">
      <MemberSignature Language="C#" Value="public virtual string PasswordQuestion { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>If <see cref="P:System.Web.Security.Membership.RequiresQuestionAndAnswer" /> is true, then the password answer for a membership user must be supplied to the <see cref="M:System.Web.Security.MembershipUser.GetPassword(System.String)" /> and <see cref="M:System.Web.Security.MembershipUser.ResetPassword(System.String)" /> methods. The <see cref="P:System.Web.Security.MembershipUser.PasswordQuestion" /> serves as a reminder to the membership user of what his or her password answer is. Once the membership user has supplied a password answer, the answer value can be supplied to the <see cref="Overload:System.Web.Security.MembershipUser.GetPassword" /> or <see cref="Overload:System.Web.Security.MembershipUser.ResetPassword" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the password question for the membership user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ProviderName">
      <MemberSignature Language="C#" Value="public virtual string ProviderName { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property exposes the name of the membership provider that manages the information for the <see cref="T:System.Web.Security.MembershipUser" />. You can access the specific membership provider instance for a membership user by using the <see cref="P:System.Web.Security.Membership.Providers" /> property of the <see cref="T:System.Web.Security.Membership" /> class, whether or not the provider is the default provider for the application. For example, you may create a method that takes a <see cref="T:System.Web.Security.MembershipUser" /> object as input and updates the <see cref="T:System.Web.Security.MembershipUser" /> based on your business logic. You can ensure that the appropriate membership provider is used to update the <see cref="T:System.Web.Security.MembershipUser" /> by calling the <see cref="M:System.Web.Security.MembershipProvider.UpdateUser(System.Web.Security.MembershipUser)" /> method of the membership provider from the <see cref="P:System.Web.Security.Membership.Providers" /> collection that is indexed by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property value.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the name of the membership provider that stores and retrieves user information for the membership user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ProviderUserKey">
      <MemberSignature Language="C#" Value="public virtual object ProviderUserKey { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Object</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.MembershipUser.ProviderUserKey" /> property exposes the identifier from the membership data source typed as object. The type of the identifier depends on the <see cref="T:System.Web.Security.MembershipProvider" /> or the <see cref="T:System.Web.Security.MembershipUser" />. In the case of the <see cref="T:System.Web.Security.SqlMembershipProvider" />, the <see cref="P:System.Web.Security.MembershipUser.ProviderUserKey" /> can be cast as a <see cref="T:System.Guid" />, since the <see cref="T:System.Web.Security.SqlMembershipProvider" /> stores the user identifier as a <see cref="F:System.Data.SqlDbType.UniqueIdentifier" />.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the user identifier from the membership data source for the user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ResetPassword">
      <MemberSignature Language="C#" Value="public virtual string ResetPassword ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>
            <see cref="M:System.Web.Security.MembershipUser.ResetPassword" /> calls the <see cref="M:System.Web.Security.MembershipProvider.ResetPassword(System.String,System.String)" /> method of the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property to reset the password for the membership user to a new, automatically generated password. The new password is then returned to the caller.</para>
          <para>If <see cref="P:System.Web.Security.Membership.EnablePasswordReset" /> is false, the membership provider will return an exception.</para>
          <para>If <see cref="P:System.Web.Security.Membership.RequiresQuestionAndAnswer" /> is true, you must use the <see cref="M:System.Web.Security.MembershipUser.ResetPassword(System.String)" /> overload that takes a password answer as a parameter and supply the password answer for the membership user. If a password answer is required and an incorrect password answer is supplied, a <see cref="T:System.Web.Security.MembershipPasswordException" /> is thrown by the membership provider.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Resets a user's password to a new, automatically generated password.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The new password for the membership user.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ResetPassword">
      <MemberSignature Language="C#" Value="public virtual string ResetPassword (string answer);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="answer" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="answer">To be added.</param>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>
            <see cref="M:System.Web.Security.MembershipUser.ResetPassword(System.String)" /> calls the <see cref="M:System.Web.Security.MembershipProvider.ResetPassword(System.String,System.String)" /> method of the membership provider referenced by the <see cref="P:System.Web.Security.MembershipUser.ProviderName" /> property to reset the password for the membership user to a new, automatically generated password. The new password is then returned to the caller.</para>
          <para>If <see cref="P:System.Web.Security.Membership.EnablePasswordReset" /> is false, the membership provider will return an exception.</para>
          <para>If <see cref="P:System.Web.Security.Membership.RequiresQuestionAndAnswer" /> is false, you can supply null for the <paramref name="answer" /> parameter, or use the <see cref="M:System.Web.Security.MembershipUser.ResetPassword" /> overload that does not take any parameters.</para>
          <para>If a password answer is required and an incorrect password answer is supplied, a <see cref="T:System.Web.Security.MembershipPasswordException" /> is thrown by the membership provider.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Resets a user's password to a new, automatically generated password.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The new password for the membership user.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ToString">
      <MemberSignature Language="C#" Value="public override string ToString ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Returns the user name for the membership user.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.MembershipUser.UserName" /> for the membership user.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="UnlockUser">
      <MemberSignature Language="C#" Value="public virtual bool UnlockUser ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Users are most commonly locked out and cannot be validated by the <see cref="M:System.Web.Security.Membership.ValidateUser(System.String,System.String)" /> method when the <see cref="P:System.Web.Security.Membership.MaxInvalidPasswordAttempts" /> is reached within the <see cref="P:System.Web.Security.Membership.PasswordAttemptWindow" />.</para>
          <para>Users can also be locked out if you use the <see cref="M:System.Web.Security.MembershipUser.GetPassword(System.String)" /> or <see cref="M:System.Web.Security.MembershipUser.ResetPassword(System.String)" /> overload that accepts a password answer and the number of bad answers entered by the user reaches the value of <see cref="P:System.Web.Security.Membership.MaxInvalidPasswordAttempts" /> within the <see cref="P:System.Web.Security.Membership.PasswordAttemptWindow" />.</para>
          <para>Your implementation of this method should set the <see cref="P:System.Web.Security.MembershipUser.IsLockedOut" /> property to false, set the <see cref="P:System.Web.Security.MembershipUser.LastLockoutDate" /> property to the current date, and reset any counters that you use to track the number of failed log in attempts and so forth.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Clears the locked-out state of the user so that the membership user can be validated.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>true if the membership user was successfully unlocked; otherwise, false.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="UserName">
      <MemberSignature Language="C#" Value="public virtual string UserName { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A membership user's <see cref="P:System.Web.Security.MembershipUser.UserName" /> is used in conjunction with the membership user's password to authenticate the membership user.</para>
          <para>The <see cref="P:System.Web.Security.MembershipUser.UserName" /> of a <see cref="T:System.Web.Security.MembershipUser" /> identifies a unique user for each application that uses <see cref="T:System.Web.Security.Membership" /> for authentication. An application is identified by the membership <see cref="P:System.Web.Security.Membership.ApplicationName" />. The same user name can be used in multiple applications for different users. Alternatively, a single user name can be used to identify a user for multiple applications, provided the applications are configured with the same <see cref="P:System.Web.Security.Membership.ApplicationName" />.</para>
          <para>You can retrieve a <see cref="T:System.Web.Security.MembershipUser" /> object for a membership user by passing the user name to one of the overloads of the <see cref="M:System.Web.Security.Membership.GetUser" /> method, or as a member of a <see cref="T:System.Web.Security.MembershipUserCollection" /> returned from the <see cref="M:System.Web.Security.Membership.GetAllUsers" />, <see cref="M:System.Web.Security.Membership.FindUsersByName(System.String,System.Int32,System.Int32,System.Int32@)" />, or <see cref="M:System.Web.Security.Membership.FindUsersByEmail(System.String,System.Int32,System.Int32,System.Int32@)" /> method.</para>
          <para>You can retrieve the user name for a membership user if the e-mail address for the user is known, by using the <see cref="M:System.Web.Security.Membership.GetUserNameByEmail(System.String)" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the logon name of the membership user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>