Get all profiles?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Get all profiles?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Get all profiles?  
Martin Almroth


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

I know that I can get a user object from the database with the method
GetGrofile(..,..). But it seems like if I wanna get all profiles in
the database, there are no method for that.
Do I have to make the question to the database myself, or is there a
method for that?
If there are nomethod for that, how do you recomend I make the
question to the DB?
I have several environments, so the connectionstring have to be easy
to edit without rebuildning the project.

Thanks
Martin





[ Post a follow-up to this message ]



    RE: Get all profiles?  
Ragini Singh [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-16-04 10:56 PM

You can optimize getting profiles from the database by using the
ProfileProperty class (BCL) which has a GetProfiles method. This returns a
profile object collection of the specified profile type and/or specified
key value.

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team
--------------------
From: martinalmroth@hotmail.com (Martin Almroth)
Newsgroups: microsoft.public.commerceserver.general
Subject: Get all profiles?
Date: 13 Aug 2004 08:04:19 -0700
Organization: http://groups.google.com
Lines: 12
Message-ID: <d3db6b0f.0408130704.68a5ce87@posting.google.com>
NNTP-Posting-Host: 212.181.3.94
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1092409461 7139 127.0.0.1 (13 Aug 2004 15:04:21
GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 13 Aug 2004 15:04:21 +0000 (UTC)
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!postnews2.google.com!not-fo
r-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14531
X-Tomcat-NG: microsoft.public.commerceserver.general

I know that I can get a user object from the database with the method
GetGrofile(..,..). But it seems like if I wanna get all profiles in
the database, there are no method for that.
Do I have to make the question to the database myself, or is there a
method for that?
If there are nomethod for that, how do you recomend I make the
question to the DB?
I have several environments, so the connectionstring have to be easy
to edit without rebuildning the project.

Thanks
Martin


This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register