为已有用户创建此站点的新邀请。

inviteNominated(inviteeUserName, inviteeRole, acceptUrl, rejectUrl)

参数

  • inviteeUserName
    表示受邀用户的用户名的字符串。
  • inviteeRole
    表示受邀用户角色的字符串,例如:Manager,Collaborator,Contributor,Consumer。
  • acceptUrl
    表示与接受邀请相对应的URL的字符串。
  • rejectUrl
    表示与拒绝邀请相对应的URL的字符串。

返回值

一个 ScriptInvitation 对象。

文档更新时间: 2019-07-10 20:54   作者:凌云文档