home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
SAMPLES
/
SUITE
/
DW10_S3.LSS
< prev
next >
Wrap
Text File
|
1996-09-29
|
413b
|
14 lines
Option Public
Sub DocAccess
' Declare the variable CrntEditor and assign it the value
' of the current user's name.
Dim CrntEditor As String
CrntEditor = .Preferences.UserName
' Restrict editing of this document to the current editor.
CurrentDocument.DocControl.DocControlRestrictedToEditor = CrntEditor
CurrentDocument.DocControl.FileProtectionType = $LwpFileProtectTypeOrigAuthor
End Sub