Sections
spotlight
     
     
WWWCoder.com Resource Directory

ADSI: Change an Account Description
9/24/2004 8:22:39 AM

Change the description associate with a Windows account using ADSI.


'accepts a string for the description.

Sub ChangeAccountDescription(strDescription)
On Error Resume Next
Set oUser = GetObject(strDomain & "/" & strUser)
oUser.Description = strDescription
oUser.SetInfo
Set oUser = Nothing
If Err <> 0 Then
strServerError = "Description change failed!"
End If
End Sub


Page Options:
format for printing  Format for Printer
email article  Email Page
add to your favorites   Add to Favorites
How would you rate the quality of this content?
Poor - - Excellent
Comments?
Overall Rating: No ratings available.
Comments Left:
     
     

 

     
     

 


 


Digg This
 


DotNetNuke Platinum Benefactor

     
     

Other family network sites: santry.com - katieandkarleigh.com

Powered by 

 

     
Copyright 20010 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 774-0970
Privacy Statement | Terms Of Use