Key (Document - Java™) Read-only. If a profile document, the user name (key) of the profile. Defined in Document Data type String Syntax public String getKey() throws NotesException Example