473,785 Members | 2,481 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Iterating profiles

Hi,

is there any solution to iterate through all user profiles?

Thanks in advance,
Etam.

May 2 '07 #1
7 2638
ProfileManager. GetAllProfiles( )

"etam" wrote:
Hi,

is there any solution to iterate through all user profiles?

Thanks in advance,
Etam.

May 2 '07 #2
On 2 Maj, 12:37, Siva M <shiva...@onlin e.excite.comwro te:
ProfileManager. GetAllProfiles( )
But this gives me only ProfileInfos :/.
May 2 '07 #3
On 2 Maj, 12:41, etam <odwrot...@gmai l.comwrote:
On 2 Maj, 12:37, Siva M <shiva...@onlin e.excite.comwro te:
ProfileManager. GetAllProfiles( )

But this gives me only ProfileInfos :/.
And i need access to this profiles members.

May 2 '07 #4
Use ProfileInfo.Use rName in conjunction with
ProfileManager. FindProfilesByU serName() to get the full profile object.

"etam" wrote:
On 2 Maj, 12:37, Siva M <shiva...@onlin e.excite.comwro te:
ProfileManager. GetAllProfiles( )

But this gives me only ProfileInfos :/.
May 2 '07 #5
On 2 Maj, 13:00, Siva M <shiva...@onlin e.excite.comwro te:
Use ProfileInfo.Use rName in conjunction with
ProfileManager. FindProfilesByU serName() to get the full profile object.
Is this a good solution:

ProfileInfoColl ection pic =
ProfileManager. GetAllProfiles( ProfileAuthenti cationOption.Al l);
foreach(Profile Info pi in pic) {
ProfileCommon p =
(ProfileCommon) ProfileCommon.C reate(pi.UserNa me);
System.Diagnost ics.Debug.Write Line(p.Name.Cap tion);
}

?

May 2 '07 #6
On 2 Maj, 13:00, Siva M <shiva...@onlin e.excite.comwro te:
Use ProfileInfo.Use rName in conjunction with
ProfileManager. FindProfilesByU serName() to get the full profile object.
ProfileManager. FindProfilesByU serName() also gives
ProfileInfosCol lection.

May 2 '07 #7
Apologies for the copy/paste mistake. I meant using Profile.GetProf ile()
along with ProfileInfo.Use rName. You might also want to use
ProfileManager. GetAllProfiles( ) for any filtering.

"etam" wrote:
On 2 Maj, 13:00, Siva M <shiva...@onlin e.excite.comwro te:
Use ProfileInfo.Use rName in conjunction with
ProfileManager. FindProfilesByU serName() to get the full profile object.

ProfileManager. FindProfilesByU serName() also gives
ProfileInfosCol lection.

May 3 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3892
by: Test Test | last post by:
Hi, group! Here is some interesting problem: Our company has developed a large VB6 application that runs very smoothly on most environments. However, all of a sudden one of our customers (unsing WinNT SP6) experienced a dramatic performance drop. We investigated, and it turned out that it depends on the
0
1816
by: Wayne Gibson | last post by:
Hi all, Please ignore the other post.. The cat jumped on the machine and sent it before I could stop it!! Was wondering if anybody has expericence this problem.. I am writting an application in C# using windows forms, to create windows user profiles and then updating the registry information for the new profiles. I have managed to create the user successfully and thought that I was
9
6745
by: Srinivas | last post by:
hi all how to access the outlook user profiles through VB.net any help.... thanks in advanc Srinivas
0
982
by: Selden McCabe | last post by:
I have a VB6 application running on a number of computers at a school. These all have Microsoft Office (and also Outlook) installed. They are using an Exchange server. This app uses the msmapi32.ocx to send mail. On MOST of the computers, this works. But on a few of these computers, where it was working for a long time, it now gives an invalid session ID.
1
4950
by: Anurag | last post by:
Hi, I have 2 related questions. DB2 UDB ESE v8.x (8.1 till 8.2 FP2 - all fixpaks included) on AIX 5.4.x _____________________________________________________________________________ (QUESTION 1) Output of "db2ilist" does not list all the instances on my AIX box. DB2 functions normally - I do not get any unexpected errors. Any ideas what configuration has been missed out?...
0
1685
by: george_Martinho | last post by:
It seems that the ASP.NET Microsoft team didn't think about this!! The profilemanager class has the following methods: - DeleteInactiveProfiles. Enables you to delete all profiles older than a specified date. - DeleteProfile. Enables you to delete a profile associated with a specified username. - DeleteProfiles. Enables you to delete a set of profiles. - FindInactiveProfilesByUserName. Returns a collection of ProfileInfo
3
6209
by: Jeff | last post by:
Hey asp.net 2.0 I want to populate a GridView with the profile properties off all users registered on a website! For example like this: <profile enabled="true"> <properties>
1
1350
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I really need help in this email. I am using pop3 service to connect to microsoft exchange. I have two profiles defined in microsoft exchange. One is west1 and another one is west2. When I am trying to connect to west1. I can succesfully connect to the excahnge mail box, but if i try to connect to another west2 profile then
1
1338
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I really need help in this email. I am using pop3 service to connect to microsoft exchange. I have two profiles defined in microsoft exchange. One is west1 and another one is west2. When I am trying to connect to west1. I can succesfully connect to the excahnge mail box, but if i try to connect to another west2 profile then
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.