1. Ron Calder
  2. PowerServer 2020 or older (Obsolete)
  3. Wednesday, 26 September 2018 15:50 PM UTC

Currently using STD_FC_Active_Directory web service to validate id and password against Active Directory.  I have that working for both standard Power Builder C/S and Power Server web applications and it works great!

One of the other functions in the AD web service is to check to see if a user id is a member of a group.  Is there an example of how this should work?  When I enter a group and a user id I always get a return of zero even if I know the user is in a group.

Thank you, Ron 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 September 2018 16:40 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Ron;

   I am super glad that you are able to use the AD web service from your PB native and PowerServer Apps (that should also work for IWA apps too BTW)!

  Here is a code snippet from an actual production App that uses the Group code checking, as follows ...

 

The AD Group check DWO uses the following URL (redacted for security) ....

 webservice=(WSDL="http://xxxxxxxxxxx/LDAP/xxxxxxx_interface.asmx?WSDL"  assembly="xxxxxx_group_ws.dll"  namespace="WebService" classname="xxxxxxxxxxxx_interface" method="of_validate_group" methoddefinition="" structurename="(System.Int16 ReturnValue)" inputparms="System.String:as_group,System.String:as_user_id" resultsetparm=-1)

 

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.