The PortalSecurity type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | ClearRoles | Obsolete. |
![]() | CreateKey |
This function creates a random key
|
![]() | Decrypt | |
![]() | DecryptString | |
![]() | Encrypt | |
![]() | EncryptString | |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | ForceSecureConnection | |
![]() ![]() | GetCookieDomain | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | HasEditPermissions(Int32) | Obsolete. |
![]() ![]() | HasEditPermissions(ModulePermissionCollection) | Obsolete. |
![]() ![]() | HasEditPermissions(Int32, Int32) | Obsolete. |
![]() ![]() | HasNecessaryPermission(SecurityAccessLevel, PortalSettings, ModuleInfo) | Obsolete. |
![]() ![]() | HasNecessaryPermission(SecurityAccessLevel, PortalSettings, ModuleInfo, UserInfo) | Obsolete. |
![]() ![]() | HasNecessaryPermission(SecurityAccessLevel, PortalSettings, ModuleInfo, String) | Obsolete. |
![]() | InputFilter |
This function applies security filtering to the UserInput string.
|
![]() ![]() | IsDenied(String) | |
![]() ![]() | IsDenied(UserInfo, PortalSettings, String) | |
![]() ![]() | IsFollower | |
![]() ![]() | IsFriend | |
![]() ![]() | IsInRole | |
![]() ![]() | IsInRoles(String) | |
![]() ![]() | IsInRoles(UserInfo, PortalSettings, String) | |
![]() ![]() | IsOwner | |
![]() ![]() | IsPageAdmin | Obsolete. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Removes profanity words in the provided input string.
|
![]() | Replace |
Replaces profanity words with other words in the provided input string.
|
![]() | SignIn | |
![]() | SignOut | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UserLogin | Obsolete. |
![]() | ValidateInput |
This function applies security filtering to the UserInput string, and reports
whether the input string is valid.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |