Get List Of Active Session On Server?
Aug 10, 2010i want list of session which is active on my server,I want to count how many active connect right now
View 1 Repliesi want list of session which is active on my server,I want to count how many active connect right now
View 1 Replieshave a probleme with my search filter, i want to list the users of an organizational unit result.filter =(& (objectClass= user)(ou=dep1)); ====> it didn't work for me
View 1 RepliesI need to list a group of users, their group name is (IRS Group) to a list group. how to do this. I'm very new to asp.net and dont have much knowlegde about acctive directory.
View 1 Replieshow to get the member of property of a active directory group?
I am using .NET 2 framework and c# laungauge.
get the list of all sessionid which will be running onto server without storing them anywhere.
View 7 Repliesour project using active directory on vb.net 1.1 and server 2003. We will be upgrade to vb.net 3.5 and server 2008.
In this case, 1. We convert all vb.net 1.1 application to vb.net 3.5 and run on server 2003.
Then later on, 2. Our server will upgrade to server 2003 to server 2008.
I would linke to know after doing above two phase will effect on Active Directory code setting in our program.
Can I conver to 1 to 1 withut changing anything in vb.net and server?
i want to create a global session which will stay active until and unless we manually kill it.how to do this in asp.net with c# what i am doing is
HttpContext.Current.Session["UserID"] = someValue;
but in this way the session is lost after some time.
How do I retrieve list of Active users (with account ids) in IIS 6.
View 2 RepliesHow can I refresh the aspx page in very cetain timing? Actually I need to develop someting it just likes this ASP.Net forum web site where the page will auto refresh in certain timing to keep the session active.
View 3 RepliesI want keep session active
How to change this example to keep session active? [URL]
How can I get a list of users from active directory? Is there a way to pull username, firstname, lastname? I saw a similar post where this was used:
PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "YOURDOMAIN"); I have never done anything with active directory so I am completely lost.
How would I create a list then on click add data to the list which is then stored into a session variable, then on another page retrieve the variable and output them? Currently I have:
Page Load:
List <myClass> listName=new List<myClass>
OnClick:
listName.add(3);
listName.add(4);
Session["IDs"]=listName;
Second Page
I need to get the whole list and add output the list so I can output (hopefully) the '3' and '4'.
When user log's in with it's emaild and password, I have stored it's email id in session variable as: Session("user"). After logged in, If i leave the page kept opened OR ideal for sometime and after thatt if I select any option from user profile, the session variable get expired and send's me back to login page. I want that if I would create 2 to 3 session variable's it should remain activated for longer period. So that even if page kept ideal for longer period and then if selects any option, the session variable's should not be expired soon.
View 1 RepliesI am wanting to make a sign in and out site for reception I have made it so far using C#, I have got the visitor part sorted, how I could let staff choose there name from a list that has retrieved the names from active directory and then that pulls there name into the SQL Database and then adds a row with there name into as including other columns but I can do the other columns.
View 1 RepliesI'm trying to populate a dropdown list with a list of all the usergroups in existence in an existing active directory.
View 3 RepliesI need to get the list of domain usrs. The users not necessorily be on the domain where I am logged in. (e.g. I am logged in on domain "Dom111" but I need the list of users from the domain "Dom222")
I want this information on the basis of following -
1) Name of the Domain
2) A valid User name (of-course with Admin rights for the Target domain) and password
I am trying to use the following code -
DirectoryContext dc = new DirectoryContext(DirectoryContextType.Domain, "Dom222", "Administrator", "password");
Domain domain = Domain.GetDomain(dc);
DirectoryEntry de = domain.GetDirectoryEntry();
FillList(de);
Here is the FillList function
private void FillList(DirectoryEntry de)
{
DirectorySearcher deSearch = new DirectorySearcher(de);
deSearch.Filter = "(&(objectClass=user)(objectCategory=person))";
SearchResultCollection results = deSearch.FindAll();
//checkedListBox1.Items.Clear();
foreach (SearchResult srUser in results)
{
DirectoryEntry deUser = srUser.GetDirectoryEntry();
checkedListBox1.Items.Add(deUser.Properties["sAMAccountName"].Value.ToString());
}
checkedListBox1.Sorted = true;
}
This works fine for the domain where I logged in (i.e. Dom111) but for the other domain (Dom222), while executing the statement - Domain domain = Domain.GetDomain(dc); I am getting the error saying "The specified domain does not exist or cannot be contacted."
Now, For creating the dc if I use following - DirectoryContext dcTemp = new DirectoryContext(DirectoryContextType.DirectoryServer, "Server_dom222", "administrator", "password");
Then everything works fine. But as you can see I need to pass the "Domain Controller (Server) Name"which I want to avoid.
I'm doing some feature to allow user authenticate using windows identity. So before it need to allow user select from all exists domains then users within domain.After some study I can list all domains within a forest using WinNT provider of ADSI. But now I'm stuck at how to list all domains across forests boundary, like 'Location' dialog pop up in 'Select Users, Computers, or Groups' dialog.
View 1 RepliesIn C#, how do i access Active Directory to get the list of groups that a certain user belongs to?
The user details are in the form:
"MYDOMAINmyuser"
I've been following the instructions from here but they only work if i have the user details in the form:
"LDAP://sample.com/CN=MySurname MyFirstname,OU=General,OU=Accounts,DC=sample,DC=com"
So maybe what i'm asking is, how to get from the first, shorter, form to the fully qualified form below?
I have an ASP.NET application that is using Signle Sign On using Active Directory Federation Services
When the user first logs into the application, Once they are "authenticated", their credentials remain active while their web browser is open.
Now, I want the "authentication" to "timeout" in 60 minutes. This way if they browse to another page after 60 minutes, they are prompted to "re-enter" their credentials again.
I know that in FormsAuthentication, you can "de-authenticate" someone by calling "FormsAuthentication.SignOut();" in the Session_End Event in Global.asax.
Is there anyting like that for ADFS?
We had few distribution groups in our AD for emailing. To provide access to my application i use these groups to generate the license keys.
Microsoft clearly says "Distribution groups play no role in security (you do not assign permissions to distribution groups), and you cannot use them to filter Group Policy settings."
Is there any way to get the token access for the Distribution groups?
I need to get list of users reporting to a particular manager from the Active directory. In the active directory there is manager property with contains the data in the following way.
CN=Gegore Lid,OU=IT,OU=Sales,OU=XXXXX,OU=XXXX,DC=YYYY,DC=intra
[Code].....
My environment is ASP.Net + IIS 7.0 + Windows Server 2008 + .Net 3.5. I am wondering whether the number of users online and number of active session are the same thing? The other question is, no matter whether they are the same, how to calculate them (i.e. for a given time, what is the number of users online, and related active number of sessions)?
View 1 RepliesI use some session variables to get the job done(shopping cart, etc) but it is not stable..manytimes I get no items in session object and other times(refreshing the page) I get missing data...I downloaded the entire site code to my local pc and debugged it and run it succesfully without any session data missing...When I run it in the server, I get bad session again: no products in shopping cart or products with missing quantities...
The same website runs smoothly in our production server too....The problem is with our development server...
I have problem is that when i force to clear session so it remove all session on to server. i mean i open website at 2 systems and one system logout website so 2nd automatically logout.i dont know when is the problem. i m using Session.Abundent for current session.but it clear all.
View 2 Repliesi created an Active X Control for my web Form first time when i executes my page its works fine.. but when i modified my Active X Control then place my ActiveX Control dll to my web site root directory then my Active X Control is not loading on my Web page..
View 2 Replies