다음을 통해 공유


Code Snippet: Implementing Secure Store in a .NET Connectivity Assembly

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.