Announcement

Collapse
No announcement yet.

How to get VisualSVN Server User Access Rights by using WMI Query in VC++

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get VisualSVN Server User Access Rights by using WMI Query in VC++

    Hi All,

    I am writing a vc++ application to get & set User Access Rights of VisualSVN Server by using WMI query.

    we able to get the Associatedobject and getting repository name and paths by using

    VARIANT vtProp;
    hres = pclsObj->Get(L"AssociatedObject", 0, &vtProp, 0, 0);
    wcout <<L"Values : " << vtProp.bstrVal << endl;
    But not getting the Permissions,

    hres = pclsObj->Get(L"Permissions", 0, &vtProp, 0, 0);
    wcout <<L"Values : " << vtProp.bstrVal << endl;

    Its not printing the value.

    It contains array of objects, how to get the value from the vtProp.

    Thanks..
Working...
X