You need to sign in to do that
Don't have an account?
Bondicloud
how get standard object id??
Hi All,
Generally if i open custom object .. in the url i got objcet id . but if i open standard objects like Account or user i am not getting ...
so can any body help how to get user object id.
@
Narayan Bondi
see the bellow link for get clarity on object id
http://www.salesforcefast.com/2012/02/salesforce-standard-object-record-id.html
@Narayan BONDI
All Answers
Hi,
If you are looking for current user id in apex then,
String userId = UserInfo.getUserId();
Usually the Salesforce ID have 15 or 18 characters, The object id referes to first 3 characters from the Salesforce ID. For example if you browse any Account Name in the org it should be this way "001F000000gkM5s".
001 is Account object id, similarly we can find the object id from salesforce ID from first 3 characters.
If the ID starts with 001 it is belongs to Account object.
006 is belongs to opportunities.
see the bellow link for get clarity on object id
http://www.salesforcefast.com/2012/02/salesforce-standard-object-record-id.html
@Narayan BONDI