tcl.create-account

Verb: Access/TCL, Releases: AP

Creates a new account.

Syntax

create-account {account.name}

Description

creates a new master dictionary, copies all the necessary items into it, and updates the 'mds' file with the name and address.

The 'newac' file in the 'dm' account contains the items that are placed into a new account md. Additional, application-specific items may be added to newac. For security purposes, items can be removed from newac as well. For example, dangerous verbs such as 'delete-file' and 'clear-file' could be either removed or renamed to prevent accidental use.

See 'master dictionary' for an explanation of the attributes requested in 'create-account'.

If the account.name is omitted from the command line, the process prompts for it.

Example

create-account fred


mds,, 'fred' NEW ITEM size = 31
mds,, fred
type D
modulo 37
ret-lock
upd-lock
password
syspriv
justification L
width 12
reallocation


'mds,,' is the item-id of the account to create

'type' describes the type of item. D indicates this is a
file-defining item.

'Modulo' is the modulo used in creating the file for this account.

'Retrieval codes' and 'Update lock codes' are unique locks
for limiting access to files within the account. See 'retrieval locks /
update locks' for more information.

'Password' is the optional logon password for this account. The
password will be displayed as a formula conversion in hexadecimal.

'Syspriv' is the user privilege level. May be 'sys0',
'sys1', or 'sys2'. See 'system privileges' for
more information.

'Justification' and 'width' describe the output
specifications for the MD.

'Reallocation' describes the reallocation modulo for the MD, if any.
This value must be enclosed in parentheses.

See Also

Command Name Type Description
tcl.admin.maint Menu Menu for maintaining accounts.
system.privileges Definition Description of privilege levels.
tcl.acct1 Subroutine Subroutine used in 'create-account'.
tcl.acct2 Subroutine Subroutine used in 'create-account'.
tcl.acct3 Subroutine Subroutine used in 'create-account'.
account Definition Description of account.
file.defining.items Definition File-defining item overview.
tcl.account-maint Verb: Access Invokes account maintenance menu.
basic.retrieval.locks Definition Description of retrieval locks.
filename.newac File Contains items for new accounts.
tcl.create.account Verb: Access Invokes the 'create-account' program.
tcl.caf Subroutine Subroutine used in 'create-account'.
tcl.cai Subroutine Subroutine used in 'create-account'.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.