Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetLocale
GetReader
MgUserInformation
MgUserInformation
MgUserInformation
SetLocale
SetMgSessionId
SetMgUsernamePassword
void MgUserInformation::SetMgUsernamePassword | ( | CREFSTRING | userName,
|  | CREFSTRING | password |
| ) |  |  |
Initializes credentials with a MapGuide user name and password. .NET Syntax
`void SetMgUsernamePassword(string userName, string password);`
Java Syntax
`void SetMgUsernamePassword(String userName, String password);`
PHP Syntax
`void SetMgUsernamePassword(string userName, string password);`
  Parameters:
  | userName | (String/string) MapGuide user name
  | password | (String/string) user password
Returns: Returns nothing

Comments or suggestions? Send us feedback.