locked
Retrieve adapter settings RRS feed

  • Question

  • Hi,

     

    Is there a way to retrieve property settings of an adapter? For example, I want to know the password configured into the FTP send port.

    My guess is that they are stored in SSO but don't know how to retrieve them. Any help would be appreciated!

    Tuesday, April 5, 2011 12:52 PM

Answers

  • I don't think retrieving password is possible in any case. In my view this is as expected by design because of security, and preventing unwanted person accessing the FTP password.  
    Please mark it as Answer if this answers your question
    Thanks.
    Mo
    The contents I write here is my personal views, not the view of my employer and anyone else.
    Wednesday, April 6, 2011 8:25 PM

All replies

  • ExplorerOM and the Management assembly are a good place to start.  Still not sure about getting the password though, that's probably somewhere in SSO, but there is a whole API for SSO you could have a dig at. 

    Kind Regards,

    -Dan


    If this answers your question, please Mark as Answer
    Tuesday, April 5, 2011 12:55 PM
  • Hi Jira,

    This link may help you i think:

    http://msdn.microsoft.com/en-us/library/aa560919(v=bts.70).aspx

    Thanks,

    Rajesh

    Tuesday, April 5, 2011 1:10 PM
  • Hi,

     

    I want the information as the same way as exporting the bindings, however, the password would be in plain text.

    Tuesday, April 5, 2011 1:28 PM
  • Tuesday, April 5, 2011 1:49 PM
  • Hi,

    You can use the following WMI classes to do this:

    http://msdn.microsoft.com/en-us/library/aa561991(v=BTS.70).aspx

    MSBTS_ReceiveLocation.CustomCfg Property

    http://msdn.microsoft.com/en-us/library/aa559751(v=BTS.70).aspx

    MSBTS_SendPort.PTCustomCfg Property

    You will be able to get the adapter-specific configuration in XML format. But I am not sure if you will be able to get password using the above but I have used the "MSBTS_ReceiveLocation.CustomCfg" to update the adapter configuration in past.


    Mark As Answer or Vote As Helpful if My Reply Does, Regards, -Rohit
    Wednesday, April 6, 2011 4:50 AM
    Moderator
  • I don't think retrieving password is possible in any case. In my view this is as expected by design because of security, and preventing unwanted person accessing the FTP password.  
    Please mark it as Answer if this answers your question
    Thanks.
    Mo
    The contents I write here is my personal views, not the view of my employer and anyone else.
    Wednesday, April 6, 2011 8:25 PM