User Management Detail
User Management Detail
User Management Samples User Management Classes and Globals
The AcMapSession class provides the following user and session functions. The AcMapGetSession() global function retrieves the AutoCAD Map 3D session pointer, an instance of AcMapSession.
- Retrieve aliases - GetAliases()
- Retrieve error stack - GetErrorStack()
- Retrieve project iterator - GetProjectIterator()
- Log in a user - LogIn()
- List registered users - GetUserList()
- Retrieve the current user - GetCurrentUser()
- Retrieve/set a user's rights - GetUserRights()*/SetUserRights()*
- Lock/unlock Autodesk Map - Lock()/Unlock()
- Retrieve AutoCAD Map 3D ObjectARX API version - ArxApiVersion()
- Retrieve/set workspace rectangle - GetWSpaceRectangle()/SetWSpaceRectangle()
- Execute AutoCAD Map 3D command - InvokeCommand()
- Execute AutoCAD Map 3D API function - InvokeFunction()
- Retrieve AutoCAD Map 3D project - GetProject() (two forms)
- Retrieve AutoCAD document - GetDocument()
- Add/remove session reactor - AddSessionReactor()/RemoveSessionReactor()
- Add/remove options reactor - AddOptionsReactor()/RemoveOptionsReactor()
- Retrieve/set option values - GetOptionValue() (three forms: 1 2 3)/SetOptionValue() (three forms: 1 2 3)
- Option node test - IsOptionNodeEnabled()
- Set the Options dialog box active page - SetActiveOptionPage()
- Retrieve the users' root folder - getAllUsersRootFolder()
- Retrieve AutoCAD Map 3D application services - GetApplicationServices()
- Create a new user - CreateUser()*
- Delete an existing user - DeleteUser()*
- Change a user's password - ChangePassword()*
- Retrieve AutoCAD Map 3D project - GetProjectForDb()
For user-management source-code samples, see User Management Samples.
- For more information about user management in AutoCAD Map 3D, choose Help > Autodesk Map Help > Contents tab (or press F1), and then navigate to Using AutoCAD Map 3D (by feature) > Setting Up AutoCAD Map 3D Drawings > Setting Options > Setting Up Users.
To view code samples of user-management functions, open the Samples folder in your AutoCAD Map 3D ObjectARX installation and navigate to Map Samples\UserManager.