?????????Щ????????????Щ????ClearQuest?????????????е??Щ?????????????????????????Щ??????????????д????????????????????δ????????????????????????????·?????????????????Щ??????

????????????2002.05.00?汾???????2003???????????????

??????????????Щ???????????????????????????????Щ??ζ???????д?????????????????????????????????????

???????????????????????????????????????????????Σ?????????μ??飬????????ε???????????У???Designer?У?????Forms??????????Tab????????????????????????ζ?????????У????????????Σ?????????У???“User Group Access”???????????????????????б??п????????????????У??????????????????????tab?????????????????????Щ??????

?????????????Web??????????????????“Restricted Query Not Defined”??

?????????????????????????????CQ??????У??????Web????License???

??????????????????ЩDatabase????????????Web???????б??С?

????????????CQ??????У????????Database?????????????Web?????Database?????????????Schema Repository(s)?й????????????ò???Database????????б??С?

??????Designer?У???????е?Database->Update User Database Properties…?????????????Logical Database Name?????“Properties”???????????????檔??????????У???“Production Database”????“Test Database”?????“Update”?????Database????????????б??С????????????????????“Test Database”??????“Production Database”???ɡ?

?????????????project??Forms?£????????????????????????б?????????ν?users?????field:login_name??fullname?????????????????????б???????????????login_name(fullname)??

?????????????????????????????????????????????????????????????????????????????????????????????????????

???????????????????? ?????????????login_name=session.GetUserLoginName??full_name=login_name.fullname????login_name??full_name?????????????????????????

????????????????е?????????????ClearQuestapihelpindex.htm??Session Object??User Object??Group Object??Groups Object???????????????field??Choice List?У???ó???????б?????????????????session?????session.GetUserGroups???????飬??for each user in ????飬??????choices.additem(user)????????????????????磬????????????????г????????????????????Rational ClearQuest API Reference?????????ɡ?????????????????????????????????

?????????壺???????????Σ?????????????Action?????????????д??

????????????????ε?Permission?У???????????????

????SetFieldValue Field1??""  '????ε?????????

????Field_Permission=AD_MANDATORY  '????α???

??????Behaviors?а?????????????????ó?Hook???????