windows - Active Directory VBScript Issue -
i'm creating script assign active directory user group want use text box input instead of predefining username. know i'm doing stupid here strusername
predefined dim
value @ top of code.
userpath = "ldap://cn=users" & "cn=" & strusername) & "cn=users,dc=domain......."
you have spurious cn=users
before username, spurious parenthesis after username, , must have commas between path segments.
userpath = "ldap://cn=" & strusername & ",cn=users,dc=example,dc=org"
Comments
Post a Comment