10
© 2002. Xephon UK telephone 01635 33848, fax 01635 38345. USA telephone (303) 410 9344, fax (303) 438 0290.
consists of the field name (USRNM), followed by the data (USRDATA),
followed by the value (in decimal) of the user flag (USRFLG).
For example, if the following commands had been issued to add
userdata fields to the user profile for USER1:
MCINTY ADD PR(USER1) FI(JOBTITLE) DATA('SYSTEMS PROGRAMMER')
MCINTY ADD PR(USER1) FI(JOBCAT) DATA('OPERATIONS') FLAG(3)
then issuing the following command:
MCINTY GET PR(USER1) USERDATA
would produce:
JOBTITLE SYSTEMS PROGRAMMER ØØØ
JOBCAT OPERATIONS ØØ3
EXAMPLES
This section gives examples of how MCINTY can be used:
• List users connected to a group and their connect attributes
MCINTY GET PROF(group_name) FIELDS(USERID,USERACS.B) CLASS(GROUP)
• List a user’s name and all the groups the user is connected to:
MCINTY GET PROF(userid) FIELDS(NAME,CGGRPNM)
• Replace (or add if not there) a userdata field called JOBTITLE in
Fred’s user profile. Class defaults to USER.
MCINTY REP PROF(FRED) FIELDS(JOBTITLE) DATA('SYSTEMS PROGRAMMER')
• Retrieve the JOBTITLE userdata field from Fred’s user profile:
MCINTY GET PROF(FRED) FIELDS(JOBTITLE) USERDATA
• Retrieve all userdata from a user profile, then delete all their
userdata:
MCINTY GET PROF(userid) USERDATA
MCINTY DEL PROF(userid) USERDATA
• Sample REXX to list userid, associated name, and connect
authority in group TECHSUP:
/* rexx */
"MCINTY GET PROF(TECHSUP) FIELDS(USERID,USERACS.B) CLASS(GROUP)
NOMSG"
Comentarios a estos manuales