GetUserProfiles

Returns all the profiles for the specified user.

Syntax

IUserUnixProfiles GetUserProfiles(DirectoryEntry userDE)

IUserUnixProfiles GetUserProfiles(SearchResult userSR)

IUserUnixProfiles GetUserProfiles(string userDn)

IUserUnixProfiles GetUserProfiles(IAdsUser userIAds)

Parameters

Specify one of the following parameters when using this method.

Parameter Description
userDE The directory entry for the user for which you want the profiles.
userSr The directory entry for a user specified as a search result.
userDn The user specified as a distinguished name.
userIads The IADs interface to the user.

Return value

The collection of user UNIX profiles.

Discussion

The GetUserProfiles(DirectoryEntry userDE) and GetUserProfiles(SearchResult userSr) methods are available only for .NET-based programs.

Exceptions

GetUserProfiles throws an ArgumentNullException if the specified parameter value is null or the user does not exist.