XMapMetaInfoSetCredentials Method |
Setting credential parameters for HTTP authentication, which are necessary for an xServer configuration running in an Azure environment.
After registering in the Customer Centre, you received your personal account data. This data needed for authentication consists of the
username, password and a token. Meanwhile the username and password is needed for every authentication aspect, the token is restricted
to programming reasons. We recommend to use the token only in your further development steps.
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public void SetCredentials(
string newUser,
string newPassword
)
Public Sub SetCredentials (
newUser As String,
newPassword As String
)
public:
void SetCredentials(
String^ newUser,
String^ newPassword
)
member SetCredentials :
newUser : string *
newPassword : string -> unit
Parameters
- newUser
- Type: SystemString
User name of the HTTP authentication. In combination with the usage of the token, this parameter has to be set
to 'xtok'. - newPassword
- Type: SystemString
Password of the HTTP authentication. The token value can be used here in combination with the user 'xtok'.
Remarks Further details can be found in http://xserver.ptvgroup.com/de/cookbook/getting-started .
See Also