過去のナビゲーションリンクのスキップSecure Global Desktop 4.31 管理者ガイド > アプレット > logout メソッド

logout メソッド

構文

過去のコマンド構文またはプログラムコードのスキップint logout()

説明

The logout method allows users to log out of Secure Global Desktop. It can be used with the following Secure Global Desktop applets:

The logout method returns 0 if the user is successfully logged out; otherwise it returns the relevant error code.

過去のコマンド構文またはプログラムコードのスキップ<SCRIPT Language="JavaScript">
function logout()
{
   status = document.applets[0].logout();

   if (status != 0)
      alert ( "Failed to log out: error " + status );
}
</SCRIPT>

Defines a function that logs a user out, or displays a dialog containing the error code.

Note that the applet must be present in the same web page as the logout method.

関連トピック