/
WebMatrix.WebData.xml
851 lines (851 loc) · 83.8 KB
/
WebMatrix.WebData.xml
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
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>WebMatrix.WebData</name>
</assembly>
<members>
<member name="T:WebMatrix.WebData.ExtendedMembershipProvider">
<summary>Represents an abstract class that is used to extend the membership system that is provided by the <see cref="T:System.Web.Security.MembershipProvider" /> class.</summary>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.#ctor">
<summary>When overridden in a derived class, instantiates a new instance of the <see cref="T:WebMatrix.WebData.ExtendedMembershipProvider" /> class.</summary>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.ConfirmAccount(System.String)">
<summary>Activates a pending membership account.</summary>
<returns>true if the account is confirmed; otherwise, false.</returns>
<param name="accountConfirmationToken">A confirmation token to pass to the authentication provider.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.ConfirmAccount(System.String,System.String)">
<summary>Activates a pending membership account for the specified user.</summary>
<returns>true if the account is confirmed; otherwise, false.</returns>
<param name="userName">The user name.</param>
<param name="accountConfirmationToken">A confirmation token to pass to the authentication provider.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateAccount(System.String,System.String)">
<summary>Creates a new user account using the specified user name and password.</summary>
<returns>A token that can be sent to the user to confirm the account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateAccount(System.String,System.String,System.Boolean)">
<summary>When overridden in a derived class, creates a new user account using the specified user name and password, optionally requiring that the new account must be confirmed before the account is available for use.</summary>
<returns>A token that can be sent to the user to confirm the account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="requireConfirmationToken">(Optional) true to specify that the account must be confirmed; otherwise, false. The default is false.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateOrUpdateOAuthAccount(System.String,System.String,System.String)">
<summary>When overridden in a derived class, creates a new OAuth membership account, or updates an existing OAuth Membership account.</summary>
<param name="provider">The OAuth or OpenID provider.</param>
<param name="providerUserId">The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.</param>
<param name="userName">The user name.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateUserAndAccount(System.String,System.String)">
<summary>Creates a new user profile and a new membership account.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateUserAndAccount(System.String,System.String,System.Boolean)">
<summary>Creates a new user profile and a new membership account.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="requireConfirmation">(Optional) true to specify that the user account must be confirmed; otherwise, false. The default is false.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateUserAndAccount(System.String,System.String,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>When overridden in a derived class, creates a new user profile and a new membership account.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="requireConfirmation">(Optional) true to specify that the user account must be confirmed; otherwise, false. The default is false.</param>
<param name="values">(Optional) A dictionary that contains additional user attributes to store in the user profile. The default is null.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.CreateUserAndAccount(System.String,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>When overridden in a derived class, creates a new user profile and a new membership account.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="values">(Optional) A dictionary that contains additional user attributes to store in the user profile. The default is null.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.DeleteAccount(System.String)">
<summary>When overridden in a derived class, deletes the specified membership account.</summary>
<returns>true if the user account was deleted; otherwise, false.</returns>
<param name="userName">The user name.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.DeleteOAuthAccount(System.String,System.String)">
<summary>When overridden in a derived class, deletes the OAuth or OpenID account with the specified provider name and provider user ID.</summary>
<param name="provider">The name of the OAuth or OpenID provider.</param>
<param name="providerUserId">The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.DeleteOAuthToken(System.String)">
<summary>Deletes the specified OAuth token.</summary>
<param name="token">The token to delete.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GeneratePasswordResetToken(System.String)">
<summary>Generates a password reset token that can be sent to a user in email.</summary>
<returns>A token to send to the user.</returns>
<param name="userName">The user name.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GeneratePasswordResetToken(System.String,System.Int32)">
<summary>When overridden in a derived class, generates a password reset token that can be sent to a user in email.</summary>
<returns>A token to send to the user.</returns>
<param name="userName">The user name.</param>
<param name="tokenExpirationInMinutesFromNow">(Optional) The time, in minutes, until the password reset token expires. The default is 1440 (24 hours).</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetAccountsForUser(System.String)">
<summary>When overridden in a derived class, returns all OAuth membership accounts associated with the specified user name.</summary>
<returns>A list of all OAuth membership accounts associated with the specified user name.</returns>
<param name="userName">The user name.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetCreateDate(System.String)">
<summary>When overridden in a derived class, returns the date and time when the specified user account was created.</summary>
<returns>The date and time the account was created, or <see cref="F:System.DateTime.MinValue" /> if the account creation date is not available.</returns>
<param name="userName">The user name of the account.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetLastPasswordFailureDate(System.String)">
<summary>When overridden in a derived class, returns the date and time when an incorrect password was most recently entered for the specified user account.</summary>
<returns>The date and time when an incorrect password was most recently entered for this user account, or <see cref="F:System.DateTime.MinValue" /> if an incorrect password has not been entered for this user account.</returns>
<param name="userName">The user name of the account.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetOAuthTokenSecret(System.String)">
<summary>Gets the OAuth token secret.</summary>
<returns>The OAuth token.</returns>
<param name="token">The OAuth token.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetPasswordChangedDate(System.String)">
<summary>When overridden in a derived class, returns the date and time when the password was most recently changed for the specified membership account.</summary>
<returns>The date and time when the password was more recently changed for membership account, or <see cref="F:System.DateTime.MinValue" /> if the password has never been changed for this user account.</returns>
<param name="userName">The user name of the account.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetPasswordFailuresSinceLastSuccess(System.String)">
<summary>When overridden in a derived class, returns the number of times that the password for the specified user account was incorrectly entered since the most recent successful login or since the user account was created.</summary>
<returns>The count of failed password attempts for the specified user account.</returns>
<param name="userName">The user name of the account.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetUserIdFromOAuth(System.String,System.String)">
<summary>When overridden in a derived class, returns the user ID for the specified OAuth or OpenID provider and provider user ID.</summary>
<param name="provider">The name of the OAuth or OpenID provider.</param>
<param name="providerUserId">The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetUserIdFromPasswordResetToken(System.String)">
<summary>When overridden in a derived class, returns an ID for a user based on a password reset token.</summary>
<returns>The user ID.</returns>
<param name="token">The password reset token.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.GetUserNameFromId(System.Int32)">
<summary>Returns the user name that is associated with the specified user ID.</summary>
<returns>The user name.</returns>
<param name="userId">The user ID to get the name for.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.HasLocalAccount(System.Int32)">
<summary>Indicates whether the user has a local account.</summary>
<returns>true if the membership has a local account; otherwise, false.</returns>
<param name="userId">The user ID.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.IsConfirmed(System.String)">
<summary>When overridden in a derived class, returns a value that indicates whether the user account has been confirmed by the provider.</summary>
<returns>true if the user is confirmed; otherwise, false.</returns>
<param name="userName">The user name.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.ReplaceOAuthRequestTokenWithAccessToken(System.String,System.String,System.String)">
<summary>Replaces the OAuth request token with access token.</summary>
<param name="requestToken">The request token.</param>
<param name="accessToken">The access token.</param>
<param name="accessTokenSecret">The access token secret.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.ResetPasswordWithToken(System.String,System.String)">
<summary>When overridden in a derived class, resets a password after verifying that the specified password reset token is valid.</summary>
<returns>true if the password was changed; otherwise, false.</returns>
<param name="token">A password reset token.</param>
<param name="newPassword">The new password.</param>
</member>
<member name="M:WebMatrix.WebData.ExtendedMembershipProvider.StoreOAuthRequestToken(System.String,System.String)">
<summary>Stores the OAuth request token.</summary>
<param name="requestToken">The request token.</param>
<param name="requestTokenSecret">The request token secret.</param>
</member>
<member name="T:WebMatrix.WebData.FormsAuthenticationSettings">
<summary>Defines key names that override default settings in the <appSettings> section of the Web.config file.</summary>
</member>
<member name="F:WebMatrix.WebData.FormsAuthenticationSettings.DefaultLoginUrl">
<summary>The key to access the default login URL.</summary>
</member>
<member name="F:WebMatrix.WebData.FormsAuthenticationSettings.LoginUrlKey">
<summary>The key to access the login URL key.</summary>
</member>
<member name="F:WebMatrix.WebData.FormsAuthenticationSettings.PreserveLoginUrlKey">
<summary>The key to access the setting that preserves the term "login" instead of overriding it with "logon".</summary>
</member>
<member name="T:WebMatrix.WebData.OAuthAccountData">
<summary>Represents an OAuth or OpenID account.</summary>
</member>
<member name="M:WebMatrix.WebData.OAuthAccountData.#ctor(System.String,System.String)">
<summary>Initializes a new instance of the <see cref="T:WebMatrix.WebData.OAuthAccountData" /> class by using the specified OAuth or Open ID provider and provider user ID.</summary>
<param name="provider">The provider.</param>
<param name="providerUserId">The provider user id.</param>
</member>
<member name="P:WebMatrix.WebData.OAuthAccountData.Provider">
<summary>Gets the OAuth or Open ID provider name.</summary>
<returns>The provider name.</returns>
</member>
<member name="P:WebMatrix.WebData.OAuthAccountData.ProviderUserId">
<summary>Gets the OAuth or Open ID provider user ID.</summary>
<returns>The provider user ID.</returns>
</member>
<member name="T:WebMatrix.WebData.PreApplicationStartCode">
<summary>Provides a registration point for the simple membership pre-application start code.</summary>
</member>
<member name="M:WebMatrix.WebData.PreApplicationStartCode.Start">
<summary>Registers the simple membership pre-application start code.</summary>
</member>
<member name="T:WebMatrix.WebData.SimpleMembershipProvider">
<summary>Provides support for website membership tasks, such as creating accounts, deleting accounts, and managing passwords.</summary>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.#ctor">
<summary>Initializes a new instance of the <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class.</summary>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.#ctor(System.Web.Security.MembershipProvider)">
<summary>Initializes a new instance of the <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class by using the specified membership provider.</summary>
<param name="previousProvider">The membership provider to use.</param>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.ApplicationName">
<summary>Gets or sets the name of the application.</summary>
<returns>The name of the application.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.CasingBehavior">
<summary>Gets or sets the <see cref="T:WebMatrix.WebData.SimpleMembershipProviderCasingBehavior" /> for this provider.</summary>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ChangePassword(System.String,System.String,System.String)">
<summary>Changes the password for the specified membership account.</summary>
<returns>true if the password is successfully changed; otherwise, false.</returns>
<param name="username">The user name.</param>
<param name="oldPassword">The old password.</param>
<param name="newPassword">The new password.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ChangePasswordQuestionAndAnswer(System.String,System.String,System.String,System.String)">
<summary>Changes the password question and answer for the specified account.</summary>
<returns>true if the password question and answer are successfully changed; otherwise, false.</returns>
<param name="username">The user name.</param>
<param name="password">The new password.</param>
<param name="newPasswordQuestion">The security question that the user must answer in order to change the password.</param>
<param name="newPasswordAnswer">The answer to the security question.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ConfirmAccount(System.String)">
<summary>Activates a pending membership account.</summary>
<returns>true if the user account is confirmed; otherwise, false.</returns>
<param name="accountConfirmationToken">A confirmation token to pass to the authentication provider.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ConfirmAccount(System.String,System.String)">
<summary>Indicates whether the user account is confirmed.</summary>
<returns>true if the user account is confirmed; otherwise, false.</returns>
<param name="userName">The username.</param>
<param name="accountConfirmationToken">The account confirmation.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.CreateAccount(System.String,System.String,System.Boolean)">
<summary>Creates a new user account by using the specified user name and password.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="requireConfirmationToken">(Optional) true to specify that the user account must be confirmed; otherwise, false. The default is false.</param>
<exception cref="T:System.Web.Security.MembershipCreateUserException">
<paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.CreateOrUpdateOAuthAccount(System.String,System.String,System.String)">
<summary>Creates a new OAuth membership account, or updates an existing OAuth Membership account.</summary>
<param name="provider">The OAuth or OpenID provider.</param>
<param name="providerUserId">The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.</param>
<param name="userName">The user name.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
<exception cref="T:System.Web.Security.MembershipCreateUserException">
<paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.CreateUser(System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Object,System.Web.Security.MembershipCreateStatus@)">
<summary>Adds the specified user to the membership database.</summary>
<returns>A <see cref="T:System.Web.Security.MembershipUser" /> object that is populated with the information for the newly created user account.</returns>
<param name="username">The user name for the new user account.</param>
<param name="password">The password for the new user account.</param>
<param name="email">The email address for the new user account.</param>
<param name="passwordQuestion">The security question for the new user account.</param>
<param name="passwordAnswer">The answer to the security question for the new user account.</param>
<param name="isApproved">true to indicate that the user account is approved to be validated; otherwise, false.</param>
<param name="providerUserKey">The unique identifier from the membership data source for the user account.</param>
<param name="status">When this method returns, contains a <see cref="T:System.Web.Security.MembershipCreateStatus" /> enumeration value that indicates whether the user account was created successfully. This parameter is passed uninitiated.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.CreateUserAndAccount(System.String,System.String,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Creates a new user profile and a new membership account.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="requireConfirmation">(Optional) true to specify that the user account must be confirmed by using the <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.ConfirmAccount(System.String)" /> method; otherwise, false. The default is false. </param>
<param name="values">(Optional) A dictionary that contains additional key/value pair attributes that you can add to the data store as default values for new user profile. The key for each entry is the database column, and the value of each entry is the value for the column. The default is null.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
<exception cref="T:System.Web.Security.MembershipCreateUserException">A membership account for this user name already exists in the membership database.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.DeleteAccount(System.String)">
<summary>Deletes the specified membership account.</summary>
<returns>true if the user account was deleted; otherwise, false.</returns>
<param name="userName">The user name.</param>
<exception cref="T:System.ArgumentException">
<paramref name="username" /> is null or empty.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.DeleteOAuthAccount(System.String,System.String)">
<summary>Deletes the OAuth or OpenID account with the specified provider name and provider user ID.</summary>
<param name="provider">The name of the OAuth or OpenID provider.</param>
<param name="providerUserId">The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
<exception cref="T:System.Web.Security.MembershipCreateUserException">
<paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.DeleteOAuthToken(System.String)">
<summary>Deletes the specified OAuth token.</summary>
<param name="token">The token to delete.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.DeleteUser(System.String,System.Boolean)">
<summary>Deletes the specified user account, and optionally deletes all profile data that is related to that user account.</summary>
<returns>true if the user account was deleted; otherwise, false.</returns>
<param name="username">The user name.</param>
<param name="deleteAllRelatedData">true to delete profile data that is related to the user, or false to retain data that is related to the user.</param>
<exception cref="T:System.ArgumentException">
<paramref name="username" /> is null or empty.</exception>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.EnablePasswordReset">
<summary>Gets a value that indicates whether the membership provider lets users reset their passwords.</summary>
<returns>true if the membership provider supports password reset; otherwise, false. The default is true.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.EnablePasswordRetrieval">
<summary>Gets a value that indicates whether the membership provider lets users retrieve their passwords.</summary>
<returns>true if the membership provider supports password retrieval; otherwise, false. The default is false.</returns>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.FindUsersByEmail(System.String,System.Int32,System.Int32,System.Int32@)">
<summary>Returns all of the user accounts whose email address matches the specified email address.</summary>
<returns>A collection that contains a page of <paramref name="pageSize" /> user accounts starting at the page specified by <paramref name="pageIndex" />.</returns>
<param name="emailToMatch">The email address to search for.</param>
<param name="pageIndex">The zero-based index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the total number of matched user accounts.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.FindUsersByName(System.String,System.Int32,System.Int32,System.Int32@)">
<summary>Returns all of the user accounts whose name matches the specified user name.</summary>
<returns>A collection that contains a page of <paramref name="pageSize" /> user accounts starting at the page specified by <paramref name="pageIndex" />.</returns>
<param name="usernameToMatch">The user name to search for.</param>
<param name="pageIndex">The zero-based index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the total number of matched users.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GeneratePasswordResetToken(System.String,System.Int32)">
<summary>Generates a password reset token that can be sent to a user in email.</summary>
<returns>A token to send to the user.</returns>
<param name="userName">The user name.</param>
<param name="tokenExpirationInMinutesFromNow">(Optional) The time, in minutes, until the password reset token expires. The default is 1440 (24 hours).</param>
<exception cref="T:System.ArgumentException">
<paramref name="username" /> is empty.</exception>
<exception cref="T:System.Configuration.Provider.ProviderException">The database operation failed.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetAccountsForUser(System.String)">
<summary>Returns all OAuth membership accounts that are associated with the specified user name.</summary>
<returns>A list of all OAuth membership accounts that are associated with the specified user name.</returns>
<param name="userName">The user name.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetAllUsers(System.Int32,System.Int32,System.Int32@)">
<summary>Returns all of the user accounts in the data source.</summary>
<returns>A collection that contains a page of <paramref name="pageSize" /> user accounts starting at the page specified by <paramref name="pageIndex" />.</returns>
<param name="pageIndex">The zero-based index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the total number of matched user accounts.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetCreateDate(System.String)">
<summary>Returns the date and time when the specified user account was created.</summary>
<returns>The date and time on which the user account was created, or <see cref="F:System.DateTime.MinValue" /> if the user account creation date is not available.</returns>
<param name="userName">The user name of the account.</param>
<exception cref="T:System.InvalidOperationException">The user specified by <paramref name="userName" /> does not have a user account.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetLastPasswordFailureDate(System.String)">
<summary>Returns the date and time when an incorrect password was most recently entered for the specified user account.</summary>
<returns>The date and time when an incorrect password was most recently entered for this user account, or <see cref="F:System.DateTime.MinValue" /> if an incorrect password has not been entered for this user account.</returns>
<param name="userName">The user name of the account.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetNumberOfUsersOnline">
<summary>Returns the number of users who are currently accessing the application.</summary>
<returns>The number of users who are currently accessing the application.</returns>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetOAuthTokenSecret(System.String)">
<summary>Returns the OAuth token secret.</summary>
<returns>The OAuth token.</returns>
<param name="token">The token.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetPassword(System.String,System.String)">
<summary>Returns the password for the specified user account from the data source.</summary>
<returns>The password for the specified user account.</returns>
<param name="username">The user to retrieve the password for.</param>
<param name="answer">The answer for the password security question.</param>
<exception cref="T:System.NotSupportedException">
<see cref="P:WebMatrix.WebData.SimpleMembershipProvider.EnablePasswordRetrieval" /> is false.</exception>
<exception cref="T:System.Web.Security.MembershipPasswordException">
<paramref name="answer" /> does not match the security answer for the user account and <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.RequiresQuestionAndAnswer" /> is true.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetPasswordChangedDate(System.String)">
<summary>Returns the date and time when the password was most recently changed for the specified membership account.</summary>
<returns>The date and time when the password was more recently changed for this account, or <see cref="F:System.DateTime.MinValue" /> if the password has never been changed for this membership account.</returns>
<param name="userName">The user name of the account.</param>
<exception cref="T:System.InvalidOperationException">The user specified by <paramref name="userName" /> does not have a membership account.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetPasswordFailuresSinceLastSuccess(System.String)">
<summary>Returns the number of times that the password for the specified user account was incorrectly entered since the most recent successful login or since the user account was created.</summary>
<returns>The count of failed password attempts for the specified user account, or -1 if the user specified by <paramref name="userName" /> does not have a user account.</returns>
<param name="userName">The user name of the account.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUser(System.Object,System.Boolean)">
<summary>Returns information about the user account using the specified user ID, and optionally updates the timestamp of the most recent activity for the user account.</summary>
<returns>An object that is populated with the user account information, or null if <paramref name="providerUserKey" /> is not found.</returns>
<param name="providerUserKey">The ID for the user account to get information for. The ID is a <see cref="T:System.Int32" /> value that is stored as an <see cref="T:System.Object" /> instance.</param>
<param name="userIsOnline">true to update the last-activity timestamp for the user account, or false to return user account information without updating the timestamp.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUser(System.String,System.Boolean)">
<summary>Returns information about the user account using the specified user name, and optionally updates the timestamp of the most recent activity for the user account.</summary>
<returns>An object that is populated with the user account information, or null if <paramref name="username" /> is not found.</returns>
<param name="username">The name of the user to get information for.</param>
<param name="userIsOnline">true to update the last-activity timestamp for the user account, or false to return user account information without updating the timestamp.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUserId(System.String)">
<summary>Returns the ID for a user based on the specified user name.</summary>
<returns>The user ID.</returns>
<param name="userName">The user name.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUserIdFromOAuth(System.String,System.String)">
<summary>Returns the user ID for the specified OAuth or OpenID provider and provider user ID.</summary>
<returns>The user ID, or -1 if there is no user ID associated with the OAuth or Open ID provider user ID.</returns>
<param name="provider">The name of the OAuth or OpenID provider.</param>
<param name="providerUserId">The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUserIdFromPasswordResetToken(System.String)">
<summary>Returns the ID for a user based on a password reset token.</summary>
<returns>The user ID, or -1 if there is no user ID associated with the specified password reset token.</returns>
<param name="token">The password reset token.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUserNameByEmail(System.String)">
<summary>Returns the user name that is associated with the specified email address.</summary>
<returns>The user name that is associated with the specified email address, or null if no match is found.</returns>
<param name="email">The email address to search for.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.GetUserNameFromId(System.Int32)">
<summary>Returns the user name that is associated with the specified user ID.</summary>
<returns>The user name.</returns>
<param name="userId">The user ID to get the name for.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.HasLocalAccount(System.Int32)">
<summary>Indicates whether the user has local account.</summary>
<returns>true if the user has local account; otherwise, false.</returns>
<param name="userId">The user ID.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)">
<summary>Initializes the provider.</summary>
<param name="name">The friendly name of the provider.</param>
<param name="config">A collection of name/value pairs that represent provider-specific attributes.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="config" /> is null.</exception>
<exception cref="T:System.Configuration.Provider.ProviderException">
<paramref name="config" /> contains an unrecognized attribute.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.IsConfirmed(System.String)">
<summary>Returns a value that indicates whether the user account has been confirmed by the provider.</summary>
<returns>true if the user account has been confirmed; otherwise, false.</returns>
<param name="userName">The user name.</param>
<exception cref="T:System.ArgumentException">
<paramref name="userName" /> is null or empty.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.MaxInvalidPasswordAttempts">
<summary>Gets the number of invalid password or password-answer attempts that are allowed before the membership user is locked out.</summary>
<returns>The number of invalid password or password-answer attempts that are allowed before the membership user is locked out.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.MinRequiredNonAlphanumericCharacters">
<summary>Gets the minimum number of special (non-alphanumeric) characters that a password must contain.</summary>
<returns>The minimum number of special characters that a password must contain.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.MinRequiredPasswordLength">
<summary>Gets the minimum length that is required for a password.</summary>
<returns>The minimum length that is required for a password.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.PasswordAttemptWindow">
<summary>Gets the number of minutes during which the maximum number of invalid password or security-question answer attempts are allowed before the user account is locked out.</summary>
<returns>The number of minutes.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.PasswordFormat">
<summary>Gets a value that indicates the format for storing passwords.</summary>
<returns>One of the enumeration values that indicates the format.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.PasswordStrengthRegularExpression">
<summary>Gets the regular expression that is used to evaluate password complexity.</summary>
<returns>The regular expression that is used to evaluate password complexity.</returns>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ReplaceOAuthRequestTokenWithAccessToken(System.String,System.String,System.String)">
<summary>Replaces OAuth request token with access token.</summary>
<param name="requestToken">The request token.</param>
<param name="accessToken">The access token.</param>
<param name="accessTokenSecret">The access token secret.</param>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.RequiresQuestionAndAnswer">
<summary>Gets a value that indicates whether the membership provider requires that the user answer a security question for password reset and retrieval.</summary>
<returns>true if a security-question answer is required; otherwise, false. The default is true.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.RequiresUniqueEmail">
<summary>Gets a value that indicates whether the membership provider requires a unique email address for each user name.</summary>
<returns>true if the membership provider requires a unique email address; otherwise, false. The default is true.</returns>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ResetPassword(System.String,System.String)">
<summary>Resets the password for a user account to a new, automatically generated password.</summary>
<returns>The new password for the specified user account.</returns>
<param name="username">The user account to reset the password for.</param>
<param name="answer">The answer to the security question for the new user.</param>
<exception cref="T:System.NotSupportedException">
<see cref="P:WebMatrix.WebData.SimpleMembershipProvider.EnablePasswordReset" /> is false.</exception>
<exception cref="T:System.Web.Security.MembershipPasswordException">
<paramref name="answer" /> does not match the security answer for the user account in the membership table and <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.RequiresQuestionAndAnswer" /> is true.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ResetPasswordWithToken(System.String,System.String)">
<summary>Resets a password after verifying that the specified password reset token is valid.</summary>
<returns>true if the password was changed; otherwise, false.</returns>
<param name="token">A password reset token.</param>
<param name="newPassword">The new password.</param>
<exception cref="T:System.ArgumentException">
<paramref name="newPassword" /> is null or empty.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.StoreOAuthRequestToken(System.String,System.String)">
<summary>Stores an OAuth request token.</summary>
<param name="requestToken">The request token.</param>
<param name="requestTokenSecret">The request token secret.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.UnlockUser(System.String)">
<summary>Unlocks a user account so that the membership user can be validated.</summary>
<returns>true if the user account was unlocked; otherwise, false.</returns>
<param name="userName">The user whose user account you want to unlock.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.UpdateUser(System.Web.Security.MembershipUser)">
<summary>Updates user information.</summary>
<param name="user">An object that represents the user account to update and the information to update for that user account.</param>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.UserIdColumn">
<summary>Gets or sets the name of the database column that contains user IDs.</summary>
<returns>The name of the database column that contains user IDs.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.UserNameColumn">
<summary>Gets or sets the name of the database column that contains user names.</summary>
<returns>The name of the database column that contains user names.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName">
<summary>Gets or sets the name of the database table that contains user information.</summary>
<returns>The name of the database table that contains user information.</returns>
</member>
<member name="M:WebMatrix.WebData.SimpleMembershipProvider.ValidateUser(System.String,System.String)">
<summary>Verifies that the specified user account and password exist.</summary>
<returns>true if the specified user name and password exist, and if the account has been confirmed; otherwise, false.</returns>
<param name="username">The name of the user account to validate.</param>
<param name="password">The password for the specified user.</param>
<exception cref="T:System.ArgumentException">
<paramref name="username" /> or <paramref name="password" /> are null or empty.</exception>
</member>
<member name="T:WebMatrix.WebData.SimpleMembershipProviderCasingBehavior">
<summary>Configures the behavior of SimpleMembershipProvider for the casing of user name queries.</summary>
</member>
<member name="F:WebMatrix.WebData.SimpleMembershipProviderCasingBehavior.NormalizeCasing">
<summary>Uses the SQL Upper function to normalize the casing of user names for a case-insensitive comparison. This is the default value.</summary>
</member>
<member name="F:WebMatrix.WebData.SimpleMembershipProviderCasingBehavior.RelyOnDatabaseCollation">
<summary>Relies on the database's configured collation to normalize casing for the comparison of user names. User names are provided to the database exactly as entered by the user.</summary>
</member>
<member name="T:WebMatrix.WebData.SimpleRoleProvider">
<summary>Provides basic role-management functionality.</summary>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.#ctor">
<summary>Initializes a new instance of the <see cref="T:WebMatrix.WebData.SimpleRoleProvider" /> class.</summary>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.#ctor(System.Web.Security.RoleProvider)">
<summary>Initializes a new instance of the <see cref="T:WebMatrix.WebData.SimpleRoleProvider" /> class by using the specified role provider.</summary>
<param name="previousProvider">The previous role provider.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.AddUsersToRoles(System.String[],System.String[])">
<summary>Adds the specified user names to the specified roles.</summary>
<param name="usernames">The user names to add.</param>
<param name="roleNames">The roles to add the names to.</param>
<exception cref="T:System.InvalidOperationException">One or more of the specified users already exists in one or more of the specified roles.</exception>
</member>
<member name="P:WebMatrix.WebData.SimpleRoleProvider.ApplicationName">
<summary>Gets or sets the name of the application to store and retrieve role information for.</summary>
<returns>The name of the application to store and retrieve role information for.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleRoleProvider.CasingBehavior">
<summary>Gets or sets the <see cref="T:WebMatrix.WebData.SimpleMembershipProviderCasingBehavior" /> for this provider.</summary>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.CreateRole(System.String)">
<summary>Adds a new role.</summary>
<param name="roleName">The name of the role to create.</param>
<exception cref="T:System.InvalidOperationException">The role already exists.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.DeleteRole(System.String,System.Boolean)">
<summary>Deletes the specified role.</summary>
<returns>true if the role was deleted; otherwise, false.</returns>
<param name="roleName">The name of the role to delete.</param>
<param name="throwOnPopulatedRole">true to cause an exception to be thrown if one or more users are in <paramref name="roleName" />. In that case, the specified role is not deleted.</param>
<exception cref="T:System.InvalidOperationException">
<paramref name="roleName" /> has one or more members, and <paramref name="throwOnPopulatedRole" /> is true.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.FindUsersInRole(System.String,System.String)">
<summary>Returns all of the specified users who are in the specified role.</summary>
<returns>The names of all of the users where the user name matches <paramref name="usernameToMatch" /> and the user is in the specified role.</returns>
<param name="roleName">The role to search in.</param>
<param name="usernameToMatch">The user name to search for.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.GetAllRoles">
<summary>Returns a list of all roles.</summary>
<returns>The names of all of the roles.</returns>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.GetRolesForUser(System.String)">
<summary>Returns a list of the roles that a specified user is in.</summary>
<returns>The names of all of the roles that the specified user is a member of.</returns>
<param name="username">The user to return a list of roles for.</param>
<exception cref="T:System.InvalidOperationException">The specified user does not have a membership account.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.GetUsersInRole(System.String)">
<summary>Returns the user names that are in the specified role.</summary>
<returns>The user names that are in the specified role.</returns>
<param name="roleName">The name of the role.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.IsUserInRole(System.String,System.String)">
<summary>Returns a value that indicates whether the specified user is in the specified role.</summary>
<returns>true if the user is in the role; otherwise, false. </returns>
<param name="username">The user name.</param>
<param name="roleName">The name of the role.</param>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.RemoveUsersFromRoles(System.String[],System.String[])">
<summary>Removes the specified user names from the specified roles.</summary>
<param name="usernames">The user names to remove from the specified roles.</param>
<param name="roleNames">The role names to remove the specified user names from.</param>
<exception cref="T:System.InvalidOperationException">One or more of the specified roles do not exist.-or-One or more users are not in all of the specified roles.</exception>
<exception cref="T:System.Configuration.Provider.ProviderException">The database operation failed.</exception>
</member>
<member name="M:WebMatrix.WebData.SimpleRoleProvider.RoleExists(System.String)">
<summary>Returns a value that indicates whether a specified role exists.</summary>
<returns>true if the role exists; otherwise, false.</returns>
<param name="roleName">The name of the role.</param>
</member>
<member name="P:WebMatrix.WebData.SimpleRoleProvider.UserIdColumn">
<summary>Gets the name of the database column that contains user IDs.</summary>
<returns>The name of the database column in the <see cref="P:WebMatrix.WebData.SimpleRoleProvider.UserTableName" /> table that contains user IDs.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleRoleProvider.UserNameColumn">
<summary>Gets the name of the database column that contains user names.</summary>
<returns>The name of the database column in the <see cref="P:WebMatrix.WebData.SimpleRoleProvider.UserTableName" /> table that contains user names.</returns>
</member>
<member name="P:WebMatrix.WebData.SimpleRoleProvider.UserTableName">
<summary>Gets the name of the database table that contains user information.</summary>
<returns>The name of the database table in the <see cref="P:WebMatrix.WebData.SimpleRoleProvider.UserTableName" /> table that contains user information.</returns>
</member>
<member name="T:WebMatrix.WebData.WebSecurity">
<summary>Provides security and authentication features for ASP.NET Web Pages applications, including the ability to create user accounts, log users in and out, reset or change passwords, and perform related tasks.</summary>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.ChangePassword(System.String,System.String,System.String)">
<summary>Changes the password for the specified user.</summary>
<returns>true if the password is successfully changed; otherwise, false.</returns>
<param name="userName">The user name.</param>
<param name="currentPassword">The current password for the user.</param>
<param name="newPassword">The new password.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.ConfirmAccount(System.String)">
<summary>Confirms that an account is valid and activates the account.</summary>
<returns>true if the account is confirmed; otherwise, false.</returns>
<param name="accountConfirmationToken">A confirmation token to pass to the authentication provider.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.ConfirmAccount(System.String,System.String)">
<summary>Confirms that an account for the specified user name is valid and activates the account.</summary>
<returns>true if the account is confirmed; otherwise, false.</returns>
<param name="userName">The user name.</param>
<param name="accountConfirmationToken">A confirmation token to pass to the authentication provider.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.CreateAccount(System.String,System.String,System.Boolean)">
<summary>Creates a new membership account using the specified user name and password and optionally lets you specify that the user must explicitly confirm the account.</summary>
<returns>A token that can be sent to the user to confirm the account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="requireConfirmationToken">(Optional) true to specify that the account must be confirmed by using the token return value; otherwise, false. The default is false. </param>
<exception cref="T:System.Web.Security.MembershipCreateUserException">
<paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.CreateUserAndAccount(System.String,System.String,System.Object,System.Boolean)">
<summary>Creates a new user profile entry and a new membership account.</summary>
<returns>A token that can be sent to the user to confirm the user account.</returns>
<param name="userName">The user name.</param>
<param name="password">The password for the user.</param>
<param name="propertyValues">(Optional) A dictionary that contains additional user attributes. The default is null.</param>
<param name="requireConfirmationToken">(Optional) true to specify that the user account must be confirmed; otherwise, false. The default is false.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="P:WebMatrix.WebData.WebSecurity.CurrentUserId">
<summary>Gets the ID for the current user.</summary>
<returns>The ID for the current user.</returns>
</member>
<member name="P:WebMatrix.WebData.WebSecurity.CurrentUserName">
<summary>Gets the user name for the current user.</summary>
<returns>The name of the current user.</returns>
</member>
<member name="F:WebMatrix.WebData.WebSecurity.EnableSimpleMembershipKey">
<summary>Represents the key to the enableSimpleMembership value in the <see cref="P:System.Configuration.ConfigurationManager.AppSettings" /> property.</summary>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GeneratePasswordResetToken(System.String,System.Int32)">
<summary>Generates a password reset token that can be sent to a user in email.</summary>
<returns>A token to send to the user.</returns>
<param name="userName">The user name.</param>
<param name="tokenExpirationInMinutesFromNow">(Optional) The time in minutes until the password reset token expires. The default is 1440 (24 hours).</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GetCreateDate(System.String)">
<summary>Returns the date and time when the specified membership account was created.</summary>
<returns>The date and time that the membership account was created, or <see cref="F:System.DateTime.MinValue" /> if the account creation date is not available.</returns>
<param name="userName">The user name for the membership account.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GetLastPasswordFailureDate(System.String)">
<summary>Returns the date and time when an incorrect password was most recently entered for the specified account.</summary>
<returns>The date and time when an incorrect password was most recently entered for this account, or <see cref="F:System.DateTime.MinValue" /> if an incorrect password has not been entered for this account.</returns>
<param name="userName">The user name of the membership account.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GetPasswordChangedDate(System.String)">
<summary>Returns the date and time when the password was most recently changed for the specified membership account.</summary>
<returns>The date and time when the password was most recently changed, or <see cref="F:System.DateTime.MinValue" /> if the password has not been changed for this account.</returns>
<param name="userName">The user name of the account.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GetPasswordFailuresSinceLastSuccess(System.String)">
<summary>Returns the number of times that the password for the specified account was incorrectly entered since the last successful login or since the membership account was created.</summary>
<returns>The count of failed password attempts for the specified account.</returns>
<param name="userName">The user name of the account.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)">
<summary>Returns the ID for a user based on the specified user name.</summary>
<returns>The user ID.</returns>
<param name="userName">The user name.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.GetUserIdFromPasswordResetToken(System.String)">
<summary>Returns a user ID from a password reset token.</summary>
<returns>The user ID.</returns>
<param name="token">The password reset token.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="P:WebMatrix.WebData.WebSecurity.HasUserId">
<summary>Gets a value that indicates whether the current user has a user ID.</summary>
<returns>true if the user has a user ID; otherwise, false.</returns>
</member>
<member name="P:WebMatrix.WebData.WebSecurity.Initialized">
<summary>Gets a value that indicates whether the <see cref="M:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.Boolean)" /> method has been called.</summary>
<returns>true if the initialization method has been called; otherwise, false.</returns>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.Boolean)">
<summary>Initializes the membership system by connecting to a database that contains user information and optionally creates membership tables if they do not already exist.</summary>
<param name="connectionStringName">The name of the connection string for the database that contains user information. If you are using SQL Server Compact, this can be the name of the database file (.sdf file) without the .sdf file name extension.</param>
<param name="userTableName">The name of the database table that contains the user profile information.</param>
<param name="userIdColumn">The name of the database column that contains user IDs. This column must be typed as an integer (int).</param>
<param name="userNameColumn">The name of the database column that contains user names. This column is used to match user profile data to membership account data.</param>
<param name="autoCreateTables">true to indicate that user profile and membership tables should be created if they do not exist; false to indicate that tables should not be created automatically. Although the membership tables can be created automatically, the database itself must already exist.</param>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.Boolean,WebMatrix.WebData.SimpleMembershipProviderCasingBehavior)"></member>
<member name="M:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.String,System.Boolean)">
<summary>Initializes the membership system by connecting to a database that contains user information by using the specified membership or role provider, and optionally creates membership tables if they do not already exist.</summary>
<param name="connectionString">The name of the connection string for the database that contains user information. If you are using SQL Server Compact, this can be the name of the database file (.sdf file) without the .sdf file name extension.</param>
<param name="providerName">The name of the ADO.NET data provider. If you want to use Microsoft SQL Server, the <see cref="M:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.Boolean)" /> overload is recommended.</param>
<param name="userTableName">The name of the database table that contains the user profile information.</param>
<param name="userIdColumn">The name of the database column that contains user IDs. This column must be typed as an integer (int).</param>
<param name="userNameColumn">The name of the database column that contains user names. This column is used to match user profile data to membership account data.</param>
<param name="autoCreateTables">true to indicate that user profile and membership tables should be created automatically; false to indicate that tables should not be created automatically. Although the membership tables can be created automatically, the database itself must already exist.</param>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.String,System.Boolean,WebMatrix.WebData.SimpleMembershipProviderCasingBehavior)"></member>
<member name="M:WebMatrix.WebData.WebSecurity.IsAccountLockedOut(System.String,System.Int32,System.Int32)">
<summary>Returns a value that indicates whether the specified membership account is temporarily locked because of too many failed password attempts in the specified number of seconds.</summary>
<returns>true if the membership account is locked; otherwise, false.</returns>
<param name="userName">The user name of the membership account.</param>
<param name="allowedPasswordAttempts">The number of password attempts the user is permitted before the membership account is locked.</param>
<param name="intervalInSeconds">The number of seconds to lock a user account after the number of password attempts exceeds the value in the <paramref name="allowedPasswordAttempts" /> parameter.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.IsAccountLockedOut(System.String,System.Int32,System.TimeSpan)">
<summary>Returns a value that indicates whether the specified membership account is temporarily locked because of too many failed password attempts in the specified time span.</summary>
<returns>true if the membership account is locked; otherwise, false.</returns>
<param name="userName">The user name of the membership account.</param>
<param name="allowedPasswordAttempts">The number of password attempts the user is permitted before the membership account is locked.</param>
<param name="interval">The number of seconds to lock out a user account after the number of password attempts exceeds the value in the <paramref name="allowedPasswordAttempts" /> parameter.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="P:WebMatrix.WebData.WebSecurity.IsAuthenticated">
<summary>Gets the authentication status of the current user.</summary>
<returns>true if the current user is authenticated; otherwise, false. The default is false.</returns>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.IsConfirmed(System.String)">
<summary>Returns a value that indicates whether the user has been confirmed.</summary>
<returns>true if the user is confirmed; otherwise, false.</returns>
<param name="userName">The user name.</param>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.IsCurrentUser(System.String)">
<summary>Returns a value that indicates whether the user name of the logged-in user matches the specified user name.</summary>
<returns>true if the logged-in user name matches <paramref name="userName" />; otherwise, false.</returns>
<param name="userName">The user name to compare the logged-in user name to.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.Login(System.String,System.String,System.Boolean)">
<summary>Logs the user in.</summary>
<returns>true if the user was logged in; otherwise, false. </returns>
<param name="userName">The user name.</param>
<param name="password">The password.</param>
<param name="persistCookie">(Optional) true to specify that the authentication token in the cookie should be persisted beyond the current session; otherwise false. The default is false.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.Logout">
<summary>Logs the user out.</summary>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.RequireAuthenticatedUser">
<summary>If the user is not authenticated, sets the HTTP status to 401 (Unauthorized).</summary>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.RequireRoles(System.String[])">
<summary>If the current user is not in all of the specified roles, sets the HTTP status code to 401 (Unauthorized).</summary>
<param name="roles">The roles to check. The current user must be in all of the roles that are passed in this parameter.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.RequireUser(System.Int32)">
<summary>If the specified user is not logged on, sets the HTTP status to 401 (Unauthorized).</summary>
<param name="userId">The ID of the user to compare.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.RequireUser(System.String)">
<summary>If the current user does not match the specified user name, sets the HTTP status to 401 (Unauthorized).</summary>
<param name="userName">The name of the user to compare.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.ResetPassword(System.String,System.String)">
<summary>Resets a password by using a password reset token.</summary>
<returns>true if the password was changed; otherwise, false.</returns>
<param name="passwordResetToken">A password reset token.</param>
<param name="newPassword">The new password.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
<member name="M:WebMatrix.WebData.WebSecurity.UserExists(System.String)">
<summary>Returns a value that indicates whether the specified user exists in the membership database.</summary>
<returns>true if the <paramref name="username" /> exists in the user profile table; otherwise, false. </returns>
<param name="userName">The user name.</param>
<exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
</member>
</members>
</doc>