Hi Srikrishna,
You can use this macro, worked for me:
/{% Parent.NodeAlias |(identity)GlobalAdministrator%}
And in the MyCustomeTransformation method you can implement any logic you like. But do not forget that your custom macro assembly (or project) should be included in both CMS and MVC solutions.