<< Click to Display Table of Contents >>

GetGroupAuthToItem

아이템에 대한 그룹의 권한을 가져옵니다.

Prototype

string GetGroupAuthToItem(string ItemFullPath, string GroupPath)

Parameters

ItemFullPath

아이템 전체 경로

GroupPath

그룹 경로

Example

function getGroupAuthToItem(){

   var rep = OZCreator.GetBuiltInObject(OZBuiltInObject.REPOSITORY);

   var login = rep.Login("admin","admin");

   if (login) {

       var itemFullPath = "/parameter_test.odi";

       var groupPath = "/";

       var result = rep.GetGroupAuthToItem(itemFullPath, groupPath);

       _DEBUG("result="+result);

       rep.Logout();

   }

}