Lotus 通过 NotesAdministrationProcess.RenameNotesUser 实践总结

 Sub Initialize
 On Error Goto  errhandle
 
 Dim session As New NotesSession
 Dim adminp As NotesAdministrationProcess
 Set adminp = _
 session.CreateAdministrationProcess("test/domino")' 有些情况需要使用ip地址

 Adminp.CertifierFile =  "d:\IBM\Lotus\Domino\Cert.id"
 adminp.CertifierPassword = "Password"
 Call adminp.RenameNotesUser("CN=test/O=domain","","test1","*","*")
 Msgbox "ok"
 Exit Sub
errhandle:
 Msgbox Err &  Erl & Error
End Sub

 

1、执行者需要有fulladministrator权限

2、如果报The name of the authority issuing the Change Request is not allowed to make that request. 错误,可以尝试在管理端使用cert id 重新验证一下用户名

3、Rename in Reader / Author Fields
Triggered by: Completion of the "Rename in Person documents" request on the administration server for the Domino Directory.
Carried out on: Each server in the domain.
Carried out: According to the "Delayed Request" setting for the Administration Process in the Server document.
Result: Each server in the domain updates the person's name in Reader / Author fields of databases for which it is an administration server and that have the advanced ACL option "Modify all Reader / Author fields" selected.

(需要将数据库-acl-advanced中Action指定为Modify all Reader / Author fields)

帮助查看 lotus domino  Administrator  help 的 Rename person  

 

 

更新   Person、 Group  、(ACL、author、reander、names 修改需要配置Action为Modify all names fields

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值