VBA - PDM Project how to get UserGroup Permission

hi..

I have a connection instance and I logged in as Admin with VBA.. is there some method to get a specified usergroup permission for a specified project while I logged in as Admin?

I use this code sample..


    Dim project As PDMWProject
    Dim mygroup As PDMWGroup
    Dim Connection As PDMWConnection

    Connection.Login(AdminName, AdminPwd, PdmServer)


    Set mygroup = Connection.Groups.Item(GropuId)
    Set project = Connection.Projects.Item(ProjectId)
      
   thank you

SolidworksApi macros