Class CredentialManager
Class for getting and managing Credentials for SharePoint Online and SharePoint On-premises
Inheritance
System.Object
CredentialManager
Namespace: PnP.Framework.Utilities
Assembly: PnP.Framework.dll
Syntax
public static class CredentialManager : object
Methods
GetCredential(String)
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.
Declaration
public static NetworkCredential GetCredential(string name)
Parameters
System. Name maps to internet or network address fields |
Returns
Network System.Net.NetworkCredential |