IUserInfo Method: CreateAndConfigureHomeDirectory

CreateAndConfigureHomeDirectory ();

Parameters
None

Description
Creates the home directory for the current user and grants the user full permissions on it.

Example

Dim User As IADsUser
Dim UserInfo As IUserInfo
Set User = GetObject("NTDS://YourDomainName/UserName")
User.HomeDirectory ="\\MachineName\ShareName\HomeDirectoryName"
Set UserInfo = User
User.CreateAndConfigureHomeDirectory

 

See Also