Click or drag to resize
SecurityDebugLogToFile Method
Logs the security operation to the log file.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public 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