Pages
Home
About Me
For Contact
June 5, 2015
How to find Sanbox name?
UserInfo.getUserName().substringAfterLast('.') will give you sandbox name.
The username will always ends with .Sandbox_Name in sandbox.
Cheers!!!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment