Table of contents
TOC
Collapse the table of content
Expand the table of content

CredentialManager.GetCredential Method

SharePoint Dev Documents|Last Updated: 6/22/2017
|
1 Contributor

Returns a NetworkCredential given a certain name. Add the credential in the Windows Credential Manager and create a new Windows Credential. Then add a new GENERIC Credential. The name parameter in the method maps to the Internet or network address field.

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Syntax

public static NetworkCredential GetCredential(String name)

Parameters

name

  Type: System.String
  Name maps to internet or network address fields

Return Value

Type: NetworkCredential
System.Net.NetworkCredential

See also

© 2018 Microsoft