Search Results for

    Show / Hide Table of Contents

    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.String name

    Name maps to internet or network address fields

    Returns
    NetworkCredential

    System.Net.NetworkCredential

    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer