Exemplo n.º 1
0
        public void AsyncFill(PanelItemBase parent, ICollection <PanelItemBase> result)
        {
            var startPath = LdapUtils.GetDCNameFromPath(LdapUtils.GetUserPath(PluginUsers.ScreenService.UserName), 2);
            var workspace = parent as WorkspacePanelItem;

            if (workspace != null)
            {
                FillUsersWithSameGroup(ref parent, ref result, startPath, workspace.AdsPath);
            }
            else
            {
                FillUsers(ref parent, ref result, startPath);
            }
        }
Exemplo n.º 2
0
 public UserRoot()
 {
     m_StartPath = LdapUtils.GetUserPath(PluginUsers.ScreenService.UserName);
     m_StartPath = LdapUtils.GetDCNameFromPath(m_StartPath, 2);
 }