IUserInfo Interface

Inherited from

IDispatch

IUnknown

IADs

Applies to Objects

User

The IUserInfo interface is exposed from the User object. This interface provides additional user properties that are not supported in the IADsUser interface. For example, you can set the Home Drive of a user by using the IUserInfo interface. It cannot be done through the IADsUser interface.

Property/Method Name

Description

CreateAndConfigureHomeDirectory

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

HomeDrive

Gets and sets the user's home drive.

LogonServer

Gets and sets the name of the server to which logon requests are sent.

OperatorPrivileges

Gets the user's operator privileges.

PrimaryGroupID

Gets and sets the relative ID of the primary global group for the user.

UnitsPerWeek

Gets number of equal-length time units into which week is divided for logon hours.

UserComment

Gets and sets the User Comment property for the current user.

UserID

 

Gets the relative ID of the user.

Example

Dim UserInfo As IUserInfo
'Get the interface for user object
Set UserInfo = GetObject ("NTDS://MSFT\John")

 

See Also