CDaoWorkspace::GetUserName
Call this member function to obtain the name of the owner of the workspace.
CString GetUserName( );
Return Value
A CString that represents the owner of the workspace object.
Remarks
To get or set the permissions for the workspace owner, call DAO directly to check the Permissions property setting; this determines what permissions that user has. To work with permissions, you need a SYSTEM.MDA file.
For information about calling DAO directly, see Technical Note 54. For related information, see the topic "UserName Property" in DAO Help.
Requirements
Header: afxdao.h