Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Server 2010
The Custom Web Part and Word Add-In Sample shows how to get credentials that are stored in the Secure Store Service in a .NET connectivity assembly. For more information, see Code Sample: Custom Web Part and Word Add-in.
Another alternative to implementing secure store in your .NET assembly code is to use the Username and Password filters in the BDC model. See XML Snippet: Use Username and Password Filters in a BDC Model for a model sample.