Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

deliver LDAP Objects to VCO Webservice using vb.net

$
0
0

Hallo to all readers

 

I try to call a VCO webservice from a vb.net program.

one of the input parameter is a LDAP User Object. When I try to deliver a .net LDAP Object the webservice complains about putting a LDAP Object into a string .

 

Example :

Attribute15.name = "ResponsiblePerson"

Attribute15.type ="LdapUser"

Attribute15.value = GetADInfo.GetDirectoryEntry(newServer.ServerResponsible)

Attributes.SetValue(Attribute15, 15)

 

 

 

 

 

So I tried to use :

Attribute15.name = "ResponsiblePerson"

Attribute15.type = "LdapUser"

Attribute15.value = GetADInfo.GetDirectoryEntry(newServer.ServerResponsible).Path.ToString

Attributes.SetValue(Attribute15, 15)

 

Then the GetADInfo.GetDirectoryEntry(newServer.ServerResponsible).Path.ToString looks like :

LDAP://CN=Lastname\, Firstname \/XXX HAM,OU=Remote,OU=Users,OU=XXXXX,OU=XXXX,DC=XXX,DC=XXXXX,DC=net

but it does not work.

So the Question is what does the webservice expect to get when using the type LDAPUser ?

The VCO is Version 5.1 running on the VMWare Linux appliance.

 

thx for your sugesstions


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>