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); } }
public UserRoot() { m_StartPath = LdapUtils.GetUserPath(PluginUsers.ScreenService.UserName); m_StartPath = LdapUtils.GetDCNameFromPath(m_StartPath, 2); }