GetImportPendingUser
Returns an individual user pending import for this computer given the GUID.
Syntax
IUserInfo GetImportPendingUser(string id, bool storePendingAD, string storePendingFilePath)
Parameter
Specify the following parameters when using this method:
Parameter | Description |
---|---|
id
|
The GUID of the user that’s pending import. |
storePendingAD
|
Specify true if the user is being imported from Active Directory. Specify false if the user is being imported from an XML file. |
storePendingFilePath
|
The file path of the XML file. |
Return value
The IUserInfo
object for the specified ID in the computer.
Discussion
This method takes the storePendingAD
Boolean and the storePendingFilePath
information, stores them in the user profile, then finds and returns the user
pending import that has the specified GUID.
User profiles that are pending import are normally imported from NIS domains or from text files and not yet mapped to Active Directory groups. For more information about importing and mapping groups, see the Administrator’s Guide for Linux and UNIX.