c54883850fbcf057c409fbaeb7fdfd1ed198c89c
Izenda-Guides.md
| ... | ... | @@ -8,6 +8,7 @@ This is a simple authentication function you can place in your Login page (Login |
| 8 | 8 | |
| 9 | 9 | Normally, logins should be pulled from the database, active directory, or whatever system your organization uses for storing user info. We also support using your company's existing login page in place of our example login page. If nothing is available, here is a simple method to provide basic authentication. Also included is the callback function used by **btnLogin**'s "OnClick" property. |
| 10 | 10 | |
| 11 | +```csharp |
|
| 11 | 12 | Bool AuthenticateUser(string userName, string password, out bool isAdmin) |
| 12 | 13 | { |
| 13 | 14 | System.Collections.Hashtable Passwords = new System.Collections.Hashtable(); |
| ... | ... | @@ -48,4 +49,5 @@ void btnLogin_Click(object sender, EventArgs args) |
| 48 | 49 | } |
| 49 | 50 | else |
| 50 | 51 | loginValidator.IsValid = false; |
| 51 | -} |
|
| ... | ... | \ No newline at end of file |
| 0 | +} |
|
| 1 | +``` |
|
| ... | ... | \ No newline at end of file |