_SharingItem.PermissionTemplateGuid Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets a String (string in C#) value that represents the GUID of the template file to apply to the SharingItem in order to specify Information Rights Management (IRM) permissions. Read/write.
public:
property System::String ^ PermissionTemplateGuid { System::String ^ get(); void set(System::String ^ value); };
public string PermissionTemplateGuid { get; set; }
Public Property PermissionTemplateGuid As String
Property Value
Remarks
This property complements the IRM properties on a SharingItem object; that is, the Permission property and the PermissionService properties.
In particular, the PermissionTemplateGuid property should be synchronized with the Permission property to accurately reflect the permission status of the SharingItem. Setting the PermissionTemplateGuid property to a valid GUID should also incur setting the Permission property to olPermissionTemplate.
An empty string value for the PermissionTemplateGuid property means that there is no permission template file specified for the SharingItem. For example, if no IRM has been set up (in which case the Permission property is olUnrestricted), or the restriction is not to forward the SharingItem (in which case the Permission property is olDoNotForward).
If you attempt to set the PermissionTemplateGuid property for a received message (that is, the Sent property of the SharingItem is True), Microsoft Outlook returns an error.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기