Message 1 of 4
Is it possible that the "UserId" value returned by CWebServicesManager is empty?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible that the "UserId" value returned by CWebServicesManager is empty or can be changed by the user?
CWebServicesManager mgr = new CWebServicesManager();
bool isInitialized = mgr.Initialize();
if (isInitialized)
{
try
{
m_inventorApplication.Login();
string userId = "";
mgr.GetUserId(ref userId);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}