SecurityDebugLogToFile Method |
Logs the security operation to the log file.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntaxpublic static void LogToFile(
string userName,
string operation,
string resource,
string name,
Object result,
string siteName,
int indent
)
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
- Type: SystemInt32
Indentation of the item
See Also