Creates a “pending import” user in the zone.


IUserInfo CreateImportPendingUser(string source, DateTime timestamp)


Specify the following parameters when using this method.

Parameter Description


The location of the source data for the user to be imported.


The date and time at which the data was retrieved.

Return value

The newly created pending import user object.


User profiles in a pending import user object need to be mapped to Active Directory groups before they can be used. Users in this state are normally imported from NIS domains or from text files and stored temporarily either in Active Directory or in XML files until they are mapped to Active Directory accounts. For more information about importing and mapping users, see the Administrator’s Guide for Linux and UNIX.


The following code sample illustrates using this method in a script:

'Specify the zone you want to work with
set objZone = cims.GetZone("")
'Create the Pending Import User object
set objPendUsr = objZone.CreateImportPendingUser("script file", now) 
objPendiUsr.Uid = 500 
objPendUsr.Name = "joe" 
objPendUsr.PrimaryGroupId = 500 
objPendUsr.HomeDirectory = "/home/joe" 
objPendUsr.Shell = "/bin/bash" 
objPendUsr.Gecos = "Joe Jane"