Last updated: 2006-09-18

This website is based on NLog v1.0. Click here to view the documentation for other versions.

${identity} Layout Renderer


Thread identity information (name and authentication information)

AssemblyClass.NET Framework.NET CFMono on WindowsMono on Unix
1.01.12.01.02.01.02.01.02.0
NLog.dllNLog.LayoutRenderers.IdentityLayoutRenderer

Parameters:

NameTypeDescription
authTypeboolean
Render Thread.CurrentPrincipal.Identity.AuthenticationType.

Default value is: True.

fsNormalizeboolean
When true the output of this renderer is modified so it can be used as a part of file path (illegal characters are replaced with '_')

Default value is: False.

isAuthenticatedboolean
Render Thread.CurrentPrincipal.Identity.IsAuthenticated.

Default value is: True.

separatorstring
The separator to be used when concatenating parts of identity information.

Default value is: :.

culturestring
The culture name to be used for rendering.
cultureInfoCultureInfo
The CultureInfo to be used for rendering.
fixedLengthboolean
Trim the rendered text to the AbsolutePadding value.

Default value is: False.

lowerCaseboolean
Render an upper-case string.

Default value is: False.

padCharacterChar
The padding character.
paddinginteger
Padding value.
upperCaseboolean
Render an upper-case string.

Default value is: False.


Back to the layout renderer list.
Webwww.nlog-project.org