Re: LDAP Configuration - "Data Format"

DotNetNuke Modules

LDAP Configuration - "Data Format"


patrick1010 04-23-2008, 9:04
Hi,

I noted that the "Display Format" option is quite useful. There is another option called "Data Format". Would you provide me with some example how to use the "Data Format" Option, for example would it be possible to format phone numbers to display only the last 3 digits?

thanks,
Patrick

Re: LDAP Configuration - "Data Format"


admin 04-23-2008, 18:54
<p>Hi Patrick.</p>

<p>The DataFormat option is used when the information is copied from the LDAP server to the local store. It is usually used with numeric or date/time fields if you want something other than the default format.</p>

<p>It is used in a call to String.Format, and as such supports the format options specified here:<br /><br />

http://msdn2.microsoft.com/en-us/library/fht0f5be.aspx (about 1/3 of the way down the page)
</p>
Roger Willcocks
Software Engineer MSCD.NET
L-Space Design
http://www.l-space-design.com/
"Putting your experience to work"
© L-Space Design Limited 2005

Powered by Community Server, by Telligent Systems