Wednesday, 13 November 2013

How to get Record Owner ID from record ID?

If u want to get the owner id/ user id of current record.

for this what I know, we have to do 2 things. 
1) First we have to fetch record ID from URL by using
   ApexPages.CurrentPage().getparameters().get('id');
2) We can fetch owner ID by using this record ID.
If I am correct then how to fetch record owner ID by using record ID? then leave a comment.

No comments:

Post a Comment