The SecurityHandler type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SecurityHandler | Initializes a new instance of the SecurityHandler class |
Methods
| Name | Description | |
|---|---|---|
| ActivateUser |
Activate a user
| |
| AddGroup |
Adds a new groups basic access rights to the system
| |
| AddOpenIDUserRealm | ||
| AddUser |
Adds a new users basic access rights to the system
| |
| AddUserToActivate |
The guid to use for activation
| |
| AuthenticateUser |
Authenticates a user without setting this user in the current HttpContext
| |
| CalculateAdministrativeAccessLevel | ||
| CalculateAdministrativeAccessRights | Overloaded. | |
| CalculateModuleAccessLevel |
Calculates access level for a module based on ModuleAccessRights.
| |
| CheckForInfiniteIterationsInTree |
Scans the access right tree for any sign of infinite iterations
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FindGroups |
Gets all groups
| |
| FindUsers |
Get all users
| |
| GetAdministrativeAccessRightGroups |
Gets all groups with access set in a specific section
| |
| GetAdministrativeAccessRightSection | ||
| GetAdministrativeAccessRightUsers |
Gets all users with access set in a specific section
| |
| GetAdminstrativeAccessRightType |
Gets the Type for administrative access rights section ID.
| |
| GetChildGroups | Overloaded. | |
| GetGroup |
Gets a group with the specified unique id
| |
| GetGroupAdministrativeAccessRights | Overloaded. | |
| GetGroupByName |
Gets a group with the specified name
| |
| GetGroupModuleAccessRights |
Gets module access rights for a group with specified ID, based on the module name (module).
| |
| GetGroups | Overloaded. | |
| GetGroupUsers | Overloaded. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetInheritedGroupAdministrativeAccessRights | Overloaded. | |
| GetInheritedGroupModuleAccessRights | ||
| GetInheritedUserAdministrativeAccessRights | Overloaded. | |
| GetInheritedUserModuleAccessRights | ||
| GetLatestActivatedUsers |
Get the latest users registered
| |
| GetModuleGroups |
Gets the groups assigned to a specific module
| |
| GetModuleUsers |
Gets the users assigned to a specific module
| |
| GetOpenIDUserRealm | Overloaded. | |
| GetParentGroups | Overloaded. | |
| GetQueryResult | Overloaded. | |
| GetTotalGroupModuleAccessRights |
Gets total module access rights for the group, based on the module name (module).
| |
| GetTotalUserModuleAccessRights | ||
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetUser | Overloaded. | |
| GetUserAdministrativeAccessRights | Overloaded. | |
| GetUserByOpenIDClaimedIdentifier |
Get a user given a openID's claimed identifier.
| |
| GetUserByUserName | Overloaded. | |
| GetUserCount | ||
| GetUserGroups | Overloaded. | |
| GetUserModuleAccessRights | ||
| GetUserOpenIDs |
Get a list of user open Id's.
| |
| GetUsers | Overloaded. | |
| GetUsersByAlias | Overloaded. | |
| GetUsersByEMail | Overloaded. | |
| GetUserToActivate |
Gets a user waiting for activation by its activation guid
| |
| GetUserToActivateByUserName |
Gets a user waiting for activation by its username
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnChangeUserPassword |
Fires the ChangedUserPassword event
| |
| OnCreateGroup |
Fires the CreatedGroup Event
| |
| OnCreateUser |
Fires the CreatedUser Event
| |
| OnOpenIDUserRealmAdded |
Fires the OpenIDUserRealmAdded Event
| |
| OnOpenIDUserRealmRemoved |
Fires the OpenIDUserRealmRemoved Event
| |
| OnRemoveGroup |
Fires the RemovedGroup Event
| |
| OnRemoveUser |
Fires the RemovedUser event
| |
| OnRestoreUser |
Fires the RestoredUser event
| |
| OnUpdateGroup |
Fires the UpdatedGroup Event
| |
| OnUpdateUser |
Fires the UpdatedUser event
| |
| RemoveGroup |
Removes the group with the specified id
| |
| RemoveGroupAdministrativeAccessRights | ||
| RemoveOpenIDUserRealm | ||
| RemoveUser |
Removes the user with the specified id
| |
| RemoveUserAdministrativeAccessRights | ||
| RemoveUserModuleAccessRights | ||
| RemoveUserToActivate |
Removes a user waiting for activation
| |
| SetGroupModuleAccessRights | ||
| SetUserModuleAccessRights | ||
| ToString | (Inherited from Object.) | |
| UpdateGroup |
Updates a group
| |
| UpdateUser |
Updates a user
|
Fields
| Name | Description | |
|---|---|---|
| ADMIN_SECTION_SECURITY |
Admin section ID for security.
| |
| ADMIN_SECTION_STARSUITE |
Admin section ID for EPiServer.Common.
| |
| ADMIN_SECTION_SYSTEM_SETTINGS |
Admin section ID for system settings.
|
Properties
| Name | Description | |
|---|---|---|
| AdminSections |
Gets admin sections ids.
| |
| CurrentUser |
The user executing the request.
| |
| DisplayName |
The name describing this security handler
| |
| Instance | ||
| NewGroup | Obsolete.
Returns an new instance of a group
| |
| NewUser | Obsolete.
Returns an new instance of a user
| |
| ProvidedGroupType | ||
| ProvidedUserType | ||
| UniqueName |
The unique name to use when requesting this security handler from EPiServerCommon
| |
| UserCount |
Gets the number of users in the system
|
Events
| Name | Description | |
|---|---|---|
| ChangedUserPassword |
Occurs when a User has been changed it's password in the system
| |
| CreatedGroup |
Occurs when a Group has been Created in the system
| |
| CreatedUser |
Occurs when a User has been Created in the system
| |
| OpenIDUserRealmAdded |
Occurs when a OpenId user realm has been added in the system
| |
| OpenIDUserRealmRemoved |
Occurs when a OpenId user realm has been removed in the system
| |
| RemovedGroup |
Occurs when a Group has been Removed from the system
| |
| RemovedUser |
Occurs when a User has been Removed from the system
| |
| RestoredUser |
Occurs when a User has been Restored in the system
| |
| UpdatedGroup |
Occurs when a Group has been Updated in the system
| |
| UpdatedUser |
Occurs when a User has been Updated in the system
|