Commerce Server General - Get all profiles?

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > August 2004 > Get all profiles?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Get all profiles?
Martin Almroth

2004-08-13, 5: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
Ragini Singh [MSFT]

2004-08-16, 5: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com