Show / Hide Table of Contents

    Class CredentialedSharePointConnectionInfo

    Information used to connect to SharePoint This class is converted to/from JSON and the resulting JSON is encrypted to create the token

    Inheritance
    System.Object
    CredentialedSharePointConnectionInfo
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace:AzureFunctionsForSharePoint.Common
    Assembly:AzureFunctionsForSharePoint.Common.dll
    Syntax
    public class CredentialedSharePointConnectionInfo

    Properties

    | Improve this Doc View Source

    ClientId

    Identifies the container where the config file with the encryption password and salt

    Declaration
    public string ClientId { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Password

    The password

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SiteUrl

    The SharePoint site to which this connects

    Declaration
    public string SiteUrl { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UserName

    The username login name

    Declaration
    public string UserName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GetEncryptedToken(String, String)

    Declaration
    public string GetEncryptedToken(string encryptionPassword, string salt)
    Parameters
    Type Name Description
    System.String encryptionPassword
    System.String salt
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetSharePointClientContext()

    Declaration
    public ClientContext GetSharePointClientContext()
    Returns
    Type Description
    Microsoft.SharePoint.Client.ClientContext
    | Improve this Doc View Source

    GetSharePointClientContext(String, String, String)

    Declaration
    public static ClientContext GetSharePointClientContext(string encryptedToken, string encryptionPassword, string salt)
    Parameters
    Type Name Description
    System.String encryptedToken
    System.String encryptionPassword
    System.String salt
    Returns
    Type Description
    Microsoft.SharePoint.Client.ClientContext
    • Improve this Doc
    • View Source
    Back to top Copyright © 2016 InstantQuick
    View project on Github