Register | Login
Friday, July 04, 2008

Sections
  
About Us
  
Hosting Provided by Server Intellect
Partners
Downloads
  
 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:
  

 Latest Articles
  

 Latest News
  

 

Spotlight
Syndication

 


 


Digg This
 


DotNetNuke Platinum Benefactor

  
 

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