IsEncrypted (NotesDocument - JavaScript)

読み取り専用。文書が暗号化されているかどうかを示します。

定義場所

NotesDocument

構文

isEncrypted() : boolean
適正値 説明
true 文書が暗号化されている場合
false 文書が暗号化されていない場合

使用法

詳しくは、Document.encryptItem.IsEncrypted を参照してください。

以下の計算結果フィールドには、現在の文書の暗号化ステータスが表示されます。
var doc:NotesDocument = currentDocument.getDocument();
if (doc.isEncrypted()) {
	return "This document is encrypted";
} else {
	return "This document is not encrypted";
}

言語間の参照

LotusScript® NotesDocument クラスの IsEncrypted プロパティ

Java™ Document クラスの IsEncrypted プロパティ