Created
April 10, 2010 00:48
-
-
Save codewisdom/361733 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim a | |
a = InputBox("Enter your name here") | |
Msgbox(a) | |
Const ADS_PROPERTY_APPEND = 3 | |
Set objUser = GetObject("LDAP://cn=BPService,cn=Users,dc=k2demo,dc=local") | |
objUser.PutEx ADS_PROPERTY_APPEND, _ | |
"ServicePrincipalName", Array("K2HostServer/K2Demo","K2Server/K2Demo") | |
objUser.SetInfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment