Поделиться через


Permission.PolicyName Свойство

Определение

Возвращает имя политики, примененной к текущей форме.

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

Значение свойства

Имя политики или значение по умолчанию, если политика не применялась.

Примеры

In the following example, the PolicyName property is used to display the description of the policy that was applied to the current form.

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

Комментарии

InfoPath поддерживает политики административных разрешений, в которых перечислены пользователи и группы и их разрешения формы.

Применяется к