MembershipContext Class |
Namespace: CMS.Membership
public class MembershipContext : AbstractContext<MembershipContext>
The MembershipContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | MembershipContext |
Name | Description | |
---|---|---|
![]() ![]() | AllowOnlyRead |
Returns true if the current context allows only reading of the data
|
![]() ![]() | AuthenticatedUser |
Current user
|
![]() | ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) |
![]() ![]() | CurrentSession |
Current session info.
|
![]() ![]() | CurrentUserProfile |
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.
|
![]() | IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) |
![]() | Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | Key |
Unique container key
(Inherited from ContextContainerTParent.) |
![]() ![]() | MFAuthenticationTokenNotInitialized |
Indicates if multi-factor token ID was initialized.
|
![]() | Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() ![]() | SignOutPending |
If true, SignOut method was called in this method and user is figuratively signed out.
|
![]() | UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() ![]() | UserAccountLockedDueToInvalidLogonAttempts |
Indicates if user reached maximal allowed number of invalid logon attempts.
|
![]() ![]() | UserAccountLockedDueToPasswordExpiration |
Indicates if user account was locked because its password expired.
|
![]() ![]() | UserAuthenticationFailedDueToInvalidPasscode |
Indicates if login failed due to invalid passcode.
|
![]() ![]() | UserIsBanned |
Indicates whether the user is banned using BannedIP modules.
|
![]() ![]() | UserIsPartiallyAuthenticated |
Indicates if user is partially authenticated. Previously inserted username and password were correct.
|
Name | Description | |
---|---|---|
![]() | ClearCurrent |
Clears the current context value
(Inherited from ContextContainerTParent.) |
![]() ![]() | ClearUserPartialAuthentication |
Clear authentication info.
|
![]() | CloneForNewThread |
Clones the object for new thread
(Inherited from AbstractContextTContext.) |
![]() | CombineWith |
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.) |
![]() | ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) |
![]() | EnsureCurrent |
Creates the internal ContextContainerTParent storage if it does not exist yet.
(Inherited from ContextContainerTParent.) |
![]() ![]() | GetCurrentUserProfile |
Returns information on the current user according user ID/ user name specified as an URL parameter of the current request
|
![]() | GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() ![]() | IsUserPartiallyAuthenticated |
Checks if user is partially authenticated.
|
![]() ![]() | IsUserPartiallyAuthenticated(DateTime) |
Checks if user is partially authenticated.
|
![]() | RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | RegisterProperties |
Registers the properties of this object
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | RegisterProperty(String, FuncTObject, Object) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | RegisterProperty(String, Object, FuncTObject, Object, Object) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | SetAsCurrent |
Sets the current instance as the current thread item
(Inherited from ContextContainerTParent.) |
![]() | SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() ![]() | SetUserPartialAuthentication |
Partially authenticates the user.
|
![]() ![]() | SetUserPartialAuthentication(DateTime) |
Partially authenticates the user.
|
![]() | SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) |
![]() | TryGetProperty(String, Object) |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.) |
![]() | TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |