OutSystems Forge 日本語データベース

UserImpersonation

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2018-06-15 1.0.0 J Miguel Garcia All All Components, Developer Tools
ユーザーのロールをテストするために他のアプリケーションで使用されるWebblock 現在のユーザーを変更して、他のユーザーのロールをテストします(プロダクションモードなし)。 テストユーザーは "TestNameAddition"(サイトプロパティで定義されている)で作成し、必要なアプリケーションロールを追加する必要があります。
このWebブロックは、ユーザーのロールをテストするために他のアプリケーションで使用されます。 サーバが開発モード(実稼働環境ではない環境)で実行されている場合、そのアプリケーションをテストできるユーザでComboboxを利用できます。このユーザーは、各環境のユーザーページで手動で作成し、1つのアプリケーションロールに関連付けなければなりません。ユーザーが選択されると、選択されたユーザーがログインします。 テストユーザーは、サイトプロパティで定義された "TestNameAddition"を使用して作成し、そのユーザーに必要なアプリケーションロールを追加する必要があります。 例:ユーザー名またはユーザー名は、 - <TestNameAddition> + <Username>(サイトプロパティ "IsUseUsername = True"および "IsTestNameAtBeginning = True"の場合) - <TestNameAddition> + <User Name>、サイトのプロパティが "IsUseUsername = False、IsTestNameAtBeginning = True"の場合 注: "IsTestNameAtBeginning"と "IsTestNameAtEnd"サイトのプロパティが両方とも "False"または "True"の場合、 "TestNameAddition"は名前のどこにでも置くことができます。 "IsUseUsername"は、 "User Name"ではなく "Username"を表示するかどうかを定義します。

[Overview]
Webblock to be used in other applications for testing users' roles. Changes the current user to test other user roles, in none Production mode. Test users must be created with a "TestNameAddition" (defined in a site property) and added the desired app roles.
[Detail]
This webblock is to be used in other applications for testing users' roles. If the server is running in development mode (environments that are not production), a Combobox is available with users that can be tested for that application. This users have to be created manually at the users page for each environment and associated with one application role. When a user is selected, the chosen user will be logged-in. Test users must be created with a "TestNameAddition", defined in a site property, and added the desired app roles to that user. Ex.: The Username or User Name must be: - <TestNameAddition> + <Username>, if site properties "IsUseUsername = True AND IsTestNameAtBeginning = True" - <TestNameAddition> + <User Name>, if site properties "IsUseUsername = False AND IsTestNameAtBeginning = True" Note: If "IsTestNameAtBeginning" and "IsTestNameAtEnd" site properties are both "False" or both "True", the "TestNameAddition" can be anywhere in the name. "IsUseUsername" defines if is to display "Username" instead of "User Name".
戻る