LocalUserUnixProfileExists

Checks whether a local UNIX profile exists for the specified user in the zone.

Syntax

bool LocalUserUnixProfileExists(string userName)

Parameter

Specify the following parameter when using this method:

Parameter Description

userName

The local user name for which you want to check whether a UNIX profile exists.

Return value

Returns true if a UNIX profile is found in the zone for the specified local user, or false if no UNIX profile exists for the user in the zone.

Exceptions

UserUnixProfileExists may throw one of the following exceptions:

  • ArgumentNullException if the specified parameter value is null.