ade_userget

AutoCAD Map 3D AutoLISP

Up a level
ade_userget
 
 

Gets the login name or entity lock name of the local user.

(ade_userget [for_entity_locks])

Returns a user name (string) or nil.

for_entity_locks What to do if the local user is not logged into the application (optional): T or nil, where T = Get the user name used to identify the owner of object locks set locally, and nil = Return nil. Omitting this argument is the same as supplying nil.

A user name can have as many as 32 characters.

If the local user is logged into the application, the user's application login name is used to identify the owner of object locks set locally. If the local user is not logged into the application, the user's operating system login name is used.

This function helps you determine if the owner of a particular object lock is the local user.