次の方法で共有


Permission.PolicyName プロパティ

定義

現在のフォームに適用されたポリシーの名前を取得します。

public:
 property System::String ^ PolicyName { System::String ^ get(); };
public string PolicyName { get; }
member this.PolicyName : string
Public ReadOnly Property PolicyName As String

プロパティ値

ポリシーの名前、またはポリシーが適用されなかった場合の既定値。

次の例では、PolicyName プロパティを使用して、現在のフォームに適用されたポリシーの説明を表示しています。

_XDocument3 thisDoc = (_XDocument3)thisXDocument;
thisXDocument.UI.Alert(thisDoc.Permission.PolicyName);
Dim thisDoc As _XDocument3 = DirectCast(thisXDocument, _XDocument3)
thisXDocument.UI.Alert(thisDoc.Permission.PolicyName)

注釈

InfoPath では、ユーザーとグループ、およびフォームでのそれらのアクセス許可の一覧を示す、管理アクセス許可のポリシーの使用がサポートされています。

適用対象