Create a User Model

A User model gives a user access to sp. Users are identified by login IDs.
A User model gives a user access to
CA Spectrum
. Users are identified by login IDs.
Before you start a CLI session, verify that the User Model is created and the
to connect is started.
Follow these steps:
  1. Connect to the
    $ cd <$SPECROOT>/vnmsh $ ./connect
    You are connected to the
    If you have trouble connecting, verify for error messages. For more information, see Error Messages.
  2. Determine the model type handle for the model type you want to create using the show command. In this case, it is a model of type User. Enter this command:
    $ ./show types | grep User
    The “./” is important. Some UNIX systems use the show command for reading email. If the “.” is not the first path in the users environment, then "./" are required.
    A list of model types that include the string 'User' appears with the User model type listed first.
    Handle Name Flags 0x10004 User V,I,D 0x1040a UserGroup V,I,D 0x1040f DefUserGroup V,I,N,U,R 0xaa000d GenSwUserPort V,I,D 0xf000d ForeUserAgen V,I,D 0xaf000c ForeUserApp V,I,D
  3. List the attributes using the show command for the User model type and determine the attribute ID for the model name attribute. You need this attribute ID to create the model. Enter this command:
    $ ./show attributes mth=0x10004 | grep -i name
    A list of User model type attributes including the model name attribute appears.
    Id Name Type Flags 0x10000 Modeltype_Name Text String R,S,M 0x1006e Model_Name Text String R,W,G,O,M,D 0x10074 User_Full_Name Text String R,W,O,D 0x1155f gib_mtype_nameText String R,W,S,D 0x11560 gib_mtype_name_menu Text String R,W,S,D 0x11561 gib_model_name Text String R,W,D 0x11563 gib_model_name_menu Text String R,W,D 0x1197d WatchNames Tagged Octet R,W,D
  4. Create the model using the create command with model type handle, the attribute ID for the model name, and the value (the login ID name) for the user. In this example, the user login ID is j_doe. Enter this command:
    $ ./create model mth=0x10004 attr=0x1006e,val=j_doe
    A system message resembling the following command confirms that the model is created:
    created model handle = 0xbe0001b
    All handles and IDs used in these examples are fictitious. The model handle for the model that you created is different; model handles are created by the system.