Click or drag to resize
MembershipContext Class
Membership related context methods and variables.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerMembershipContext
    CMS.BaseAbstractDataContainerMembershipContext
      CMS.BaseAbstractHierarchicalObjectMembershipContext
        CMS.BaseContextContainerMembershipContext
          CMS.BaseAbstractContextMembershipContext
            CMS.MembershipMembershipContext

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public class MembershipContext : AbstractContext<MembershipContext>

The MembershipContext type exposes the following members.

Constructors
  NameDescription
Public methodMembershipContext
Top
Properties
  NameDescription
Public propertyStatic memberAuthenticatedUser
Returns current authenticated user.
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyStatic memberCurrentUserProfile
Current user info object according the URL parameter of the current request. It is available when the request contains parameters "userid", "username" or "userguid" with valid value of the user.
Public propertyStatic memberImpersonatedUserName
Gets user name of impersonated user.
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyKey
Unique container key
(Inherited from ContextContainerTParent.)
Public propertyStatic memberMFAuthenticationTokenNotInitialized
Indicates if multi-factor token ID was initialized.
Public propertyStatic memberOriginalUserName
Gets original user name in case that current user is impersonated.
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberSignOutPending
If true, SignOut method was called in this method and user is figuratively signed out.
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberUserAccountLockedDueToInvalidLogonAttempts
Indicates if user reached maximal allowed number of invalid logon attempts.
Public propertyStatic memberUserAccountLockedDueToPasswordExpiration
Indicates if user account was locked because its password expired.
Public propertyStatic memberUserAuthenticationFailedDueToInvalidPasscode
Indicates if login failed due to invalid passcode.
Public propertyStatic memberUserIsPartiallyAuthenticated
Indicates if user is partially authenticated. Previously inserted username and password were correct.
Top
Methods
  NameDescription
Public methodClearCurrent
Clears the current context value
(Inherited from ContextContainerTParent.)
Public methodStatic memberClearUserPartialAuthentication
Clear authentication info.
Public methodCloneForNewThread
Clones the object for new thread
(Overrides AbstractContextTContextCloneForNewThread.)
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.)
Public methodStatic memberCurrentUserIsImpersonated
Indicates whether currently authenticated user is impersonated.
Public methodEnsureCurrent (Inherited from ContextContainerTParent.)
Public methodStatic memberGetImpersonatingUser
Gets impersonating user if the current AuthenticatedUser is impersonated, otherwise null.
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodStatic memberIsUserPartiallyAuthenticated
Checks if user is partially authenticated.
Public methodStatic memberIsUserPartiallyAuthenticated(DateTime)
Checks if user is partially authenticated.
Protected methodRegisterColumn(String, FuncTObject, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterProperties
Registers the properties of this object
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodRegisterProperty(String, FuncTObject, Object)
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodRegisterProperty(String, Object, FuncTObject, Object, Object)
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodSetAsCurrent
Sets the current instance as the current thread item
(Inherited from ContextContainerTParent.)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodStatic memberSetUserPartialAuthentication
Partially authenticates the user.
Public methodStatic memberSetUserPartialAuthentication(DateTime)
Partially authenticates the user.
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodTryGetProperty(String, Object)
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.)
Top
See Also