ZennoLab Assemblies Documentation
SetAuthorizationPolicy Method
ZennoLab.CommandCenter Namespace > Instance Class : SetAuthorizationPolicy Method

Type: System.String

The answer for the window of the authorization. This parameter can take the following values: "ok" or "cancel".

Type: System.String

The login for the window of the authorization.

Type: System.String

The password for the window of the authorization.

Type: System.String

The id of project. The default value is empty string.

Sets the policy for the windows of the authorization.
Syntax
public void SetAuthorizationPolicy( 
   string answer,
   string login,
   string pass,
   string id
)

Parameters

answer

Type: System.String

The answer for the window of the authorization. This parameter can take the following values: "ok" or "cancel".

login

Type: System.String

The login for the window of the authorization.

pass

Type: System.String

The password for the window of the authorization.

id

Type: System.String

The id of project. The default value is empty string.

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members
SetCertificatesPolicy Method
SetFileUploadPolicy Method
SetJSValuePromptPolicy Method
SetOkAlertPolicy Method
SetOkCancelConfirmPolicy Method