Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMemberType

    Defines a MemberType, which Member is based on

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMemberType : IContentTypeComposition, IContentTypeBase, IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Methods

    View Source

    IsSensitiveProperty(String)

    Gets a boolean indicating whether a Property is marked as storing sensitive values on the Members profile.

    Declaration
    bool IsSensitiveProperty(string propertyTypeAlias)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    PropertyType Alias of the Property to check

    Returns
    Type Description
    System.Boolean
    View Source

    MemberCanEditProperty(String)

    Gets a boolean indicating whether a Property is editable by the Member.

    Declaration
    bool MemberCanEditProperty(string propertyTypeAlias)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    PropertyType Alias of the Property to check

    Returns
    Type Description
    System.Boolean
    View Source

    MemberCanViewProperty(String)

    Gets a boolean indicating whether a Property is visible on the Members profile.

    Declaration
    bool MemberCanViewProperty(string propertyTypeAlias)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    PropertyType Alias of the Property to check

    Returns
    Type Description
    System.Boolean
    View Source

    SetIsSensitiveProperty(String, Boolean)

    Sets a boolean indicating whether a Property is a sensitive value on the Members profile.

    Declaration
    void SetIsSensitiveProperty(string propertyTypeAlias, bool value)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    PropertyType Alias of the Property to set

    System.Boolean value

    Boolean value, true or false

    View Source

    SetMemberCanEditProperty(String, Boolean)

    Sets a boolean indicating whether a Property is editable by the Member.

    Declaration
    void SetMemberCanEditProperty(string propertyTypeAlias, bool value)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    PropertyType Alias of the Property to set

    System.Boolean value

    Boolean value, true or false

    View Source

    SetMemberCanViewProperty(String, Boolean)

    Sets a boolean indicating whether a Property is visible on the Members profile.

    Declaration
    void SetMemberCanViewProperty(string propertyTypeAlias, bool value)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    PropertyType Alias of the Property to set

    System.Boolean value

    Boolean value, true or false

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • IsSensitiveProperty(String)
      • MemberCanEditProperty(String)
      • MemberCanViewProperty(String)
      • SetIsSensitiveProperty(String, Boolean)
      • SetMemberCanEditProperty(String, Boolean)
      • SetMemberCanViewProperty(String, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX