Dynamicweb.Content.Files Namespace : Permission Class |
The following tables list the members exposed by Permission.
Name | Description | |
---|---|---|
Permission Constructor | Creates a new instance of the class. |
Name | Description | |
---|---|---|
AdminUserType |
Name | Description | |
---|---|---|
AccessElementPermissionElementID | Gets or sets the element ID. | |
AccessElementPermissionElementTextID | Gets or sets the element text ID. | |
AccessElementPermissionTypeID | Gets or sets the type ID. | |
AccessElementPermissionTypePermission | Gets or sets the type permission. | |
AccessElementPermissionUserID | Gets or sets the user ID. | |
ID | Gets or sets permission's ID. | |
IsAdministrator | Gets a value indicating if the current user is administrator. | |
IsAngelOrSysAdmin | Gets a value indicating if the current user is angel or system administrator. | |
ToDelete | Gets or sets a value indicating whether a permission should be delete or not. |
Name | Description | |
---|---|---|
ClearCache | Clears the cache for the permissions. | |
CopyPermissions | Copy the permissions of the current folder and its subfolders. | |
Delete | Overloaded. Deletes a permission from the database. | |
DeletePermissions | Deletes the permissions of the current folder and its subfolders. | |
Fill | Overridden. Fills object properties according to provided IDataReader. | |
GetPermissionByID | Retrieves a permission by user ID and a folder name. | |
GetPermissionBySql | Retrieves a permission according to provided SQL statement. | |
HasAccess | Determines whether a user has access to a folder or not. | |
HasAccessFrontend | Determines whether a user has access to an extranet folder or not. | |
HasRestrictedContent | Determines whether a folder has restricted content or not. | |
MovePermissions | Moves the permissions of the current folder and its subfolders. | |
Save | Saves current permissions. |