GAM API | Category - GeneXus GeneXus Access Manager (GAM) provides an API that allows you to handle data types and methods to add security (Authentication and Authorization) to GeneXus applications (both Web applications and Native Mobile applications)
GAM API を使用した認証とログアウトの実装 下の例は、いくつかのサンプル Web パネルでプログラムされた機能を基にした GAM API の使用方法を示しています。 認証メカニズムは、Web パネルと、GAM_Library フォルダにある外部オブジェクトとして公開されるオブジェクトの一部を使用して構成されます。 GAM を使用してログインメカニズムを実装する Web パネルは GAMExampleLogin です。 基本的に 3 つの変数があり、GeneXus に既定で含まれている対応する次の 3 つのドメインに基づいています: UserName、 UserPassword、 UserRememberMe。
GeneXus Access Manager (GAM) | Table of contents The GeneXus Access Manager (GAM) provides a GAM API to manage all the security issues concerning an application Therefore, the security module of any application (web applications and mobile applications) is provided by GAM Also, security controls are automatically performed by GAM
GAM API を使用して GAM ユーザーを参照する方法 ここでは、 GAM ユーザー を識別する最良の方法について説明します。 ユーザー ID は、さまざまな方法で取得できます: 1 ユーザー GUID の取得 ユーザー GUID を取得するには、さまざまな方法があります。 次に示すのは静的メソッドです。 静的メソッドは、現在ログインしているユーザーを参照します: ユーザーの情報は、これらの変数から取得できます。 ユーザー ID を取得するには、別の方法も使用できます。 2 User Nick (ログインに使用される名前) の取得 GAM はさまざまな認証タイプをサポートするので、UserName は GAM Users テーブルの一意のキーではありません。 アプリケーションが 1 種類の認証タイプのみをサポートする場合に、使用できます。