Cannot Author edit the profiledocument by UI?

I am trying for a user with Authors ACL to create his own profile documents, which could not be realized by either program as follows:

  1. @Command([EditProfile];“profile”;@UserName); the profile has a Authors-type field which is calcualted when created the document,

  2. Instead of EditProfile, EditProfileDocument command makes only the same result, or

  3. A LotusScript in the button click event makes the same result:

Sub Click(Source As Button)

Dim ws As New NotesUIWorkspace

Dim ses As New NotesSession

Dim db As NotesDatabase

Set db = ses.CurrentDatabase

Dim doc As NotesDocument



Set doc = db.GetProfileDocument("Profile", ses.UserName)

Dim ProfileAuthors As New NotesItem(doc, "Author", ses.UserName, AUTHORS)

doc.Form="Profile"

Call ws.EditDocument(True, doc)

End Sub

The user cannot save the profile nor change the mode to edit the profile in the very case.

I don’t like to make the db administrator to create the users’ profile to grant the privilage to users.