SecurityDebugLogSecurityOperation Method |
Logs the security operation. Logs the security operation to the file and to current request log for debugging.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static DataRow LogSecurityOperation(
string userName,
string operation,
string resource,
string name,
Object result,
string siteName,
int indent = -1
)
Parameters
- userName
- Type: SystemString
User name - operation
- Type: SystemString
Operation - resource
- Type: SystemString
Resource or class name - name
- Type: SystemString
Permission or UI element name - result
- Type: SystemObject
Result of the check - siteName
- Type: SystemString
Site name - indent (Optional)
- Type: SystemInt32
Indentation of the item
Return Value
Type:
DataRowReturns the DataRow with new log item
See Also