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

CredentialManager Class

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

Class for getting and managing Credentials for SharePoint Online and SharePoint Onpremise

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

Inheritance Hierarchy

System.Object

Syntax

public static class CredentialManager

Methods

NameDescription
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.
GetSharePointOnlineCredential(String)Returns a SharePoint Online Credential 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.

See also

© 2018 Microsoft