Package wt.load
Class LoadUser
java.lang.Object
wt.load.LoadUser
Used to load users, groups, associate users to groups, domains, and access
rules for test or demo data in Windchill. Methods in this class are defined
for use by the load package inside of the map file
(wt.home.loadFile.csvmapfile.txt). These methods were written to be called
by the load package using introspection not by a user interface.
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancreateAccessRule(Hashtable nv, Hashtable cmd_line, Vector return_objects) Create an access control rule.static WTGroupcreateAdminGroupAndUser(String adminUserName, String groupName, AdministrativeDomain sysdomain, String webUserName) static booleancreateDomain(Hashtable nv, Hashtable cmd_line, Vector return_objects) Create an administrative domain.static booleancreateGroup(Hashtable nv, Hashtable cmd_line, Vector return_objects) static booleancreateOrgAdmin(Hashtable nv, Hashtable cmd_line, Vector return_objects) static booleancreateSiteAdmin(Hashtable nv, Hashtable cmd_line, Vector return_objects) static booleancreateUser(Hashtable nv, Hashtable cmd_line, Vector return_objects) static booleancreateUserGroup(Hashtable nv, Hashtable cmd_line, Vector return_objects)
-
Method Details
-
createUser
-
createGroup
- Parameters:
nv- Name/value pairs of meta data to set on the group.cmd_line- command line argument that can be substituted into the load data.return_objects- Object(s) created by this method used bywt.load.StandardLoadServicefor user feedback messages.
Supported API: true
-
createAdminGroupAndUser
public static WTGroup createAdminGroupAndUser(String adminUserName, String groupName, AdministrativeDomain sysdomain, String webUserName) throws WTException - Parameters:
userName- User NamegroupName- Group Namesysdomain- System DomainwebUserName- Web User Name
Supported API: true- Throws:
WTException
-
createUserGroup
- Parameters:
nv- Name/value pairs representing the user name and the group name.cmd_line- command line argument that can be substituted into the load data.return_objects- Object(s) created by this method used bywt.load.StandardLoadServicefor user feedback messages.
Supported API: true
-
createOrgAdmin
- Parameters:
nv-cmd_line-return_objects-- Returns:
trueif the load succeeds- Throws:
WTException- If no organization is specified
-
createSiteAdmin
- Parameters:
nv-cmd_line-return_objects-- Returns:
trueif the load succeeds- Throws:
WTException
-
createDomain
Create an administrative domain.- Parameters:
nv- Name/value pairs of meta data to set on the domain.cmd_line- command line argument that can be substituted into the load data.return_objects- Object(s) created by this method used bywt.load.StandardLoadServicefor user feedback messages.
Supported API: true
-
createAccessRule
Create an access control rule.- Parameters:
nv- Name/value pairs of meta data to set on the access control rule.cmd_line- command line argument that can be substituted into the load data.return_objects- Object(s) created by this method used bywt.load.StandardLoadServicefor user feedback messages.
Supported API: true
-