Skip to Main Content Skip to Search
Product Documentation

UserName - User who created job or job manager object

Description

On a job, the UserName property value is a string indicating the login name of the user who created the job.

On a job manager object, the UserName property value indicates the user who created the object or who is using the job manager object to access jobs in its queue.

Characteristics

Usage

Job object or job manager object

Read-only

Always for job object

Never for job manager object, but can be password protected

Data type

String

Examples

Examine a job to see who created it.

get(job1, 'UserName')
ans =
jsmith

Change the user for a job manager object in your current MATLAB session. Certain security levels display a password prompt.

jm = findResource('scheduler','type','jobmanager','name','central-jm');
set(jm, 'UserName', 'MyNewName')

See Also

These references apply to using the UserName property for job manager objects.

Functions

changePassword, clearLocalPassword

Properties

IsUsingSecureCommunication, PromptForPassword, SecurityLevel

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS