<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to Check Feature Lock Information.</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/45965/how-to-check-feature-lock-information</link><description>Hi All,
 
 
I need to check wheather any user locked particular feature if yes then i need to display particular user name who locked that feature.
 
 Environment: 
 
Language : C#.NET.
 
 
Thanks in Advance,
 
 
Veeresh</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: How to Check Feature Lock Information.</title><link>https://communities.bentley.com/thread/104033?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2010 18:40:45 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f183d705-ff20-42b9-8323-ee5bfe534f65</guid><dc:creator>cdalesandro</dc:creator><description>&lt;p&gt;
Veeresh,
&lt;/p&gt;
&lt;p&gt;
The user name of the&amp;nbsp;user that&amp;nbsp;has locked a feature&amp;nbsp;is not available through the Map API.&amp;nbsp; But, you can determine if a feature is locked with:
&lt;/p&gt;
&lt;p&gt;
IECLockInfo* GetObjectLockInfo (IECInstanceReference* instanceRef) from Bentley.EngineeringContent.Storage.Xfm.dll
&lt;/p&gt;
&lt;p&gt;
or 
&lt;/p&gt;
&lt;p&gt;
XFM C-API functions: xfmFeature_isEditBlocked, xfmFeature_isEditBlockedForChangeOperationType
&lt;/p&gt;
&lt;p&gt;
Regards,
&lt;/p&gt;
&lt;p&gt;
Chris&lt;br /&gt;
&amp;nbsp;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: How to Check Feature Lock Information.</title><link>https://communities.bentley.com/thread/103423?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2009 15:51:51 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2660fa84-3ab3-47ac-bfbd-930f82cf3d28</guid><dc:creator>Jon Summers</dc:creator><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://communities.bentley.com/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Veeresh:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;
I need to check whether any user locked particular feature if yes then I need to display particular user
name who locked that feature.
&lt;/p&gt;
&lt;/div&gt;&lt;/BLOCKQUOTE&gt;
&lt;p&gt;
Please explain what you mean by 'any user locked particular feature'.
Are you using MicroStation or some add-on application, such as &lt;em&gt;Bentley Map&lt;/em&gt;?
&lt;/p&gt;
&lt;p&gt;
In general, MicroStation does not record which user made a particular change to an individual object in a DGN file.
It knows  the last user to make a change to a given file, but no more detail than that.
&lt;/p&gt;
&lt;p&gt;
On a related note, have you examined &lt;em&gt;DGN File History&lt;/em&gt; and what that can provide for history audit?
&lt;/p&gt;

&lt;p&gt;
Regards, Jon Summers
&lt;br /&gt;
&lt;a href="http://www.la-solutions.co.uk"&gt;LA Solutions&lt;/a&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>