AddLocalUserPartialProfile

Adds a partial profile for the specified user to the zone.

Syntax

IHierarchicalUser AddLocalUserPartialProfile(string userName)

Parameters

Specify userName; the user name of the local user.

Return value

The hierarchical user object that represents the local user profile.

Exceptions

If you pass a null parameter, AddLocalUserPartialProfile throws the exception ArgumentNullException.