|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Active Directory and XMLDoes anyone know of a way to take all of the properties of a user entry, and
their values and create a XML document from them? Thanks -- Gary Gary,
What do you mean with user entry and what kind of XML document you want. A XML document can be a lot of things. The easiest one to create is a dataset. Cor Show quoteHide quote "Gary" <gary(remo***@americandreamhomelns.com> schreef in bericht news:34AD9A2E-4082-418A-A8E3-100B8E390605@microsoft.com... > Does anyone know of a way to take all of the properties of a user entry, > and > their values and create a XML document from them? > > Thanks > -- > Gary I would like to take all of the properties from a AD user cn, email,manager,
etc and pun them into a XML document that can be used as output from a web service. The exact format isn't important as long as I can use it in managed code (VB.Net). Thanks -- Show quoteHide quoteGary "Cor Ligthert [MVP]" wrote: > Gary, > > What do you mean with user entry and what kind of XML document you want. A > XML document can be a lot of things. The easiest one to create is a dataset. > > Cor > > "Gary" <gary(remo***@americandreamhomelns.com> schreef in bericht > news:34AD9A2E-4082-418A-A8E3-100B8E390605@microsoft.com... > > Does anyone know of a way to take all of the properties of a user entry, > > and > > their values and create a XML document from them? > > > > Thanks > > -- > > Gary > > > Gary,
Than in my idea you can just create a dataset works fine in a webservice as well. Dim ds as new dataset dim dt as new datatable ds.tables.add(dt) dt.columns.add("user",GetType(System.String) 'string is default but to show dt.columns.add("email") etc. dt.loadnewrow(object () {"Cor","NotMyFirstN***@planet.nl"},true) etc. Just typed in here I hope this helps, Cor Show quoteHide quote "Gary" <gary(remo***@americandreamhomelns.com> schreef in bericht news:3353975A-D83E-4D93-B401-C00B2BC4C671@microsoft.com... >I would like to take all of the properties from a AD user cn, >email,manager, > etc and pun them into a XML document that can be used as output from a web > service. The exact format isn't important as long as I can use it in > managed > code (VB.Net). > > Thanks > -- > Gary > > > "Cor Ligthert [MVP]" wrote: > >> Gary, >> >> What do you mean with user entry and what kind of XML document you want. >> A >> XML document can be a lot of things. The easiest one to create is a >> dataset. >> >> Cor >> >> "Gary" <gary(remo***@americandreamhomelns.com> schreef in bericht >> news:34AD9A2E-4082-418A-A8E3-100B8E390605@microsoft.com... >> > Does anyone know of a way to take all of the properties of a user >> > entry, >> > and >> > their values and create a XML document from them? >> > >> > Thanks >> > -- >> > Gary >> >> >> Hello Gary,
Check out the System.XML.Serialization namespace. Specifically the XMLSerializer class. -Boo Show quoteHide quote > Does anyone know of a way to take all of the properties of a user > entry, and their values and create a XML document from them? > > Thanks >
Can anyone help with proper use of operator CType in VB.net?
moving the form Data Source error... help!? Autosaving? in VB2005 express Help on DataSets Confussing error .. help needed form image Where can I get a list of the available fonts? Wounder why not the same BindingContext??? I can't seem to find BorderStyle |
|||||||||||||||||||||||