`
licweiwei
  • 浏览: 9904 次
  • 性别: Icon_minigender_1
  • 来自: SuZhou
社区版块
存档分类
最新评论

Groups

阅读更多
可以使用 Documentum Administrator, DQL, or the API 去创建group. 创建者必须拥有Create Group, Sysadmin, 或者 Superuser权限.
1. Create Group
   - 使用DQL
     CREATE [PUBLIC|PRIVATE] GROUP group_name
     [WITH][ADDRESS email_address][MEMBERS members]
    
CREATE GROUP "editors" ADDRESS "editors" MEMBERS johnr,sallyt,haroldw
//或者可以使用SELECT statement去获取成员名
CREATE GROUP "editors" ADDRESS "editors"
MEMBERS (SELECT "user_name" FROM "dm_user"
WHERE "user_dept" = 'documentation')
     

    
   - 使用API
    
API>create,c,dm_group
. . .
returned group id
API>set,c,l,group_name
SET>editors
. . .
OK
API>set,c,l,group_address
SET>editors
. . .
OK
API>set,c,l,users_names
SET>johnr
     

2.修改删除group
   
alter group engr add florabelle
alter group engr set address base_engr
drop group engr
    

3.Role
  Role 也是一种group, 只是group_class属性值是'role', 而不是group的'group'.
4.动态组
  如果dm_group中的is_dynamic属性值是true,则该group就是动态组。
  - 如果is_dynamic_default为false, 需要应用程序显示的将user加到group,content server才能识别, 默认是该值。
  - 如果is_dynamic_default为true, 需要应用程序显示的将user从group中移除。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics