Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / February 2006

Tip: Looking for answers? Try searching our database.

"ImpersonateClient" property in Yukon

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Prasad - 07 Feb 2006 08:33 GMT
Hi,
   Does anybody knows how to get the value for "ImpersonateClient" property
which is on IntegratedSecurity Object in SQL - DMO for SQL Server 2005
(Yukon).
   Documentation says that the functionality has been moved to "Server
Connection" class of SMO but I couldnt find the property that will return
the result for the   above.

TIA
Prasad
Dan Guzman - 10 Feb 2006 13:25 GMT
The documentation states that the ImpersonnateClient property is a Settings
class property but I don't see it implemented there.  As a workaround,
another method to retrieve the value:

   string proxyAccount = (string) ServerConn.ExecuteScalar(
       "SELECT credential_identity" +
       " FROM sys.credentials" +
       " WHERE name = N'##xp_cmdshell_proxy_account##'");

I'm not sure if this a documentation or product issue.  I submitted feedback
at http://lab.msdn.microsoft.com/productfeedback/.

Signature

Hope this helps.

Dan Guzman
SQL Server MVP

> Hi,
>    Does anybody knows how to get the value for "ImpersonateClient"
[quoted text clipped - 6 lines]
> TIA
> Prasad
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.