Search Results for

    Show / Hide Table of Contents

    Class FeatureSourceCredentialExtensions

    Extension methods for feature sources

    Inheritance
    System.Object
    FeatureSourceCredentialExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.ObjectModels.FeatureSource
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public static class FeatureSourceCredentialExtensions

    Methods

    | Improve this Doc View Source

    GetEncryptedUsername(IFeatureSource, IServerConnection)

    Gets the encrypted username referenced by the %MG_USERNAME% placeholder token in the Feature Source content

    Declaration
    public static string GetEncryptedUsername(this IFeatureSource fs, IServerConnection conn)
    Parameters
    Type Name Description
    IFeatureSource fs
    IServerConnection conn
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    SetEncryptedCredentials(IFeatureSource, IServerConnection, String, String)

    Sets the encrypted credentials for this Feature Source, the credentials are referenced with the %MG_USERNAME% and %MG_PASSWORD% placeholder tokens in the Feature Source content.

    Declaration
    public static void SetEncryptedCredentials(this IFeatureSource fs, IServerConnection conn, string username, string password)
    Parameters
    Type Name Description
    IFeatureSource fs
    IServerConnection conn
    System.String username
    System.String password
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng