Gets the ID of the application group ID in the current context, or null (Nothing in Visual Basic) if not applicable.